Module sn_client::utils [−][src]
Utility functions.
Modules
test_utils | Common utility functions for writing test cases. |
Constants
SYM_ENC_KEY_LEN | Length of the symmetric encryption key. |
SYM_ENC_NONCE_LEN | Length of the nonce used for symmetric encryption. |
Functions
bin_data_format | Convert binary data to a diplay-able format |
generate_nonce | Generates a nonce for symmetric encryption |
generate_random_string | Generates a |
generate_random_vector | Generates a random vector using provided |
generate_readable_string | Generates a readable |
generate_sym_enc_key | Generates a symmetric encryption key |
symmetric_decrypt | Symmetric decryption. |
symmetric_encrypt | Symmetric encryption.
If |
Type Definitions
SymEncKey | Symmetric encryption key |
SymEncNonce | Symmetric encryption nonce |