Module argonautica::utils [−][src]
Utility functions for generating random bytes, which can be useful for generating
SecretKey
s, for example.
Functions
generate_random_base64_encoded_string |
A utility function for generating a cryptographically-secure, random, base64-encoded string based on standard base64 encoding. A quick glance at this function's source should give you a good idea of what the function is doing. |
generate_random_base64_encoded_string_config |
A utility function for generating a cryptographically-secure, random, base64-encoded string based on a custom base64 encoding (e.g. a url-safe encoding). A quick glance at this function's source should give you a good idea of what the function is doing. |
generate_random_bytes |
A utility function for generating cryptographically-secure random bytes. A quick glance at this function's source should give you a good idea of what the function is doing. |