Virgil Security Crypto library  2.6.3
Classes | Public Member Functions | Static Public Member Functions | List of all members
virgil::crypto::primitive::VirgilOperationRandom Class Reference

Define proxy interface for the Randomization functionality. More...

#include <VirgilOperationRandom.h>

Public Member Functions

template<class Impl >
 VirgilOperationRandom (Impl impl)
 Captures implementation object. More...
 
VirgilByteArray randomize (size_t bytesNum)
 Return random sequence. More...
 

Static Public Member Functions

static VirgilOperationRandom getDefault ()
 Return default implementation.
 

Detailed Description

Define proxy interface for the Randomization functionality.

Note
This is experimental feature.

Constructor & Destructor Documentation

template<class Impl >
virgil::crypto::primitive::VirgilOperationRandom::VirgilOperationRandom ( Impl  impl)
inline

Captures implementation object.

Template Parameters
Impl- class that contains functions that has identical signature to this class functions.
Parameters
impl- object that implements interface.

Member Function Documentation

VirgilByteArray virgil::crypto::primitive::VirgilOperationRandom::randomize ( size_t  bytesNum)
inline

Return random sequence.

Parameters
bytesNum- octets number to be randomized.
Returns
Random sequence.

The documentation for this class was generated from the following file: