Module saltyrtc_client::crypto
source · [−]Expand description
Cryptography-related types like public/private keys.
Structs
Wrapper for holding an auth token and encrypting / decrypting messages.
Wrapper for holding a public/private key pair and encrypting/decrypting messages.
Functions
Create a
PrivateKey
instance from case
insensitive hex bytes.Create a
PublicKey
instance from case
insensitive hex bytes.Type Definitions
A private key used for encrypting data.
A public key used for decrypting data.