diff options
author | lloyd <[email protected]> | 2010-11-02 12:47:46 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-11-02 12:47:46 +0000 |
commit | ae1803f4983b9b178c32ebfd4f395cf2ccd939c9 (patch) | |
tree | 86af460892125f39ab9455f308c766a6362be814 /src/rng | |
parent | ef0d938e243281af289820a8757d42948303a17f (diff) |
Doxygen
Diffstat (limited to 'src/rng')
-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); |