summaryrefslogtreecommitdiff
path: root/zen/argon2.h
blob: cb325a45ff73e82a0c53b1c23239ff75843de8ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// *****************************************************************************
// * This file is part of the FreeFileSync project. It is distributed under    *
// * GNU General Public License: https://www.gnu.org/licenses/gpl-3.0          *
// * Copyright (C) Zenju (zenju AT freefilesync DOT org) - All Rights Reserved *
// *****************************************************************************

#ifndef ARGON2_H_0175896874598102356081374
#define ARGON2_H_0175896874598102356081374

#include <string>

namespace zen
{
enum class Argon2Flavor { d, i, id };

std::string zargon2(zen::Argon2Flavor flavour, uint32_t mem, uint32_t passes, uint32_t parallel, uint32_t taglen,
                    const std::string_view password, const std::string_view salt);

}

#endif //ARGON2_H_0175896874598102356081374
bgstack15