[][src]Module devolutions_crypto::utils

Module for utils that does not use any of the Devolutions custom data types.

Functions

base64_encode
base64_encode_url
base64_decode
base64_decode_url
derive_key

Derives a password or key into a new one.

generate_key

Returns a random key of the specified length. Can also be used whenever you need a random byte array, like for a salt.

validate_header

Only validate the header to make sure it is valid. Used to quickly determine if the data comes from the library.