aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/qolmutils.h
blob: 11e9f3ccca3a06d0e232fe487711dcbc455f3aef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-FileCopyrightText: 2021 Carl Schwan <carlschwan@kde.org>
//
// SPDX-License-Identifier: LGPL-2.1-or-later

#pragma once
#ifdef Quotient_E2EE_ENABLED

#include <QByteArray>

#include "crypto/e2ee.h"

namespace Quotient {
// Convert PicklingMode to key
QByteArray toKey(const PicklingMode &mode);
QByteArray getRandom(size_t bufferSize);
}
#endif