diff options
Diffstat (limited to 'src/rng/rng.h')
-rw-r--r-- | src/rng/rng.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rng/rng.h b/src/rng/rng.h index 95e1f12cb..c078ef08f 100644 --- a/src/rng/rng.h +++ b/src/rng/rng.h @@ -32,6 +32,11 @@ class BOTAN_DLL RandomNumberGenerator */ virtual void randomize(byte output[], size_t length) = 0; + /** + * Return a random vector + * @param bytes number of bytes in the result + * @return randomized vector of length bytes + */ SecureVector<byte> random_vec(size_t bytes) { SecureVector<byte> output(bytes); |