[][src]Crate devolutions_crypto

Modules

utils

Cryptographic utils that does not use the Devolutions custom data type.

Structs

Argon2Parameters

Parameters used to derive the password into an argon2 hash. Used to derive a password into a keypair. It is recommended to use the default. You can save it along the user information. If the hash should never be computed in a non-threaded environment, you can raise the "lanes" value to enable multi-threading.

DcDataBlob

Data structure containing cryptographic information. It is made to be used as a black box for misuse resistance. It implements TryFrom<&[u8] and Into<Vec<u8>> to be serialized and parsed into raw bytes for use with other language and to send over a channel. If the channel does not support raw byte, the data can be encoded easily using base64.

Enums

DevoCryptoError

The enum containing the various error types.