37 #ifndef VIRGIL_CRYPTO_VIRGIL_RANDOM_H
38 #define VIRGIL_CRYPTO_VIRGIL_RANDOM_H
42 #include <virgil/crypto/VirgilByteArray.h>
44 namespace virgil {
namespace crypto {
namespace foundation {
49 class VirgilRandomImpl;
68 explicit VirgilRandom(
const virgil::crypto::VirgilByteArray& personalInfo);
81 virgil::crypto::VirgilByteArray
randomize(
size_t bytesNum);
100 size_t randomize(
size_t min,
size_t max);
112 VirgilRandomImpl* impl_;
Provides randomization algorithm.
Definition: VirgilRandom.h:56
VirgilRandom(const virgil::crypto::VirgilByteArray &personalInfo)
Initialize randomization module with personalization data.
Definition: VirgilAsn1Compatible.h:46