libkazv
key-export.hpp File Reference
#include <libkazv-config.hpp>
#include <vector>
#include <nlohmann/json.hpp>
#include <maybe.hpp>
#include "crypto-util.hpp"
Include dependency graph for key-export.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Kazv
 
 Kazv::DecryptKeyExportErrorCodes
 

Functions

std::pair< ByteArray, ByteArray > Kazv::deriveKeyExportKey (std::string password, ByteArray salt, std::size_t iterations)
 Derive the key-export key from the user-inputted password. More...
 
Maybe< nlohmann::jsonKazv::decryptKeyExport (std::string exportContent, std::string password)
 Decrypt the key-export file with the user-inputted password. More...