37 #ifndef VIRGIL_CRYPTO_FOUNDATION_VIRGIL_RANDOM_H
38 #define VIRGIL_CRYPTO_FOUNDATION_VIRGIL_RANDOM_H
43 #include "../VirgilByteArray.h"
45 namespace virgil {
namespace crypto {
namespace foundation {
126 size_t randomize(
size_t min,
size_t max);
149 std::unique_ptr<Impl> impl_;
static size_t seedFileLengthMin()
Provides randomization algorithm.
Definition: VirgilRandom.h:50
VirgilRandom(const virgil::crypto::VirgilByteArray &personalInfo)
Initialize randomization module with personalization data.
std::vector< unsigned char > VirgilByteArray
This type represents a sequence of bytes.
Definition: VirgilByteArray.h:50
static void setSeedFile(std::string path)
Configure path to the file that is used as a seed for a non-volatile entropy source.