StormByte-Crypto 3.1.0
C++26 cryptography module of the StormByte suite
Loading...
Searching...
No Matches
random.hxx File Reference
#include <StormByte/byte_size.hxx>
#include <StormByte/crypto/random/exception.hxx>
#include <StormByte/crypto/visibility.h>
#include <StormByte/safe/secure_binary.hxx>
#include <StormByte/safe/string.hxx>
#include <StormByte/size.hxx>
Include dependency graph for random.hxx:

Go to the source code of this file.

Namespaces

namespace  StormByte
 Root namespace of the StormByte suite.
namespace  StormByte::Crypto
 Crypto module of the StormByte suite.
namespace  StormByte::Crypto::Random
 Cryptographically secure random bytes and printable text.

Functions

Safe::SecureBinary StormByte::Crypto::Random::Bytes (ByteSize count)
 Generate exactly the requested number of random octets.
Safe::String StormByte::Crypto::Random::Text (Size count)
 Generate uniformly distributed printable ASCII characters.