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

#pragma once

#include <QByteArray>

#include "crypto/e2ee.h"

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