Module saltyrtc_client::crypto[][src]

Cryptography-related types like public/private keys.

Structs

AuthToken

Wrapper for holding an auth token and encrypting / decrypting messages.

KeyPair

Wrapper for holding a public/private key pair and encrypting/decrypting messages.

Functions

private_key_from_hex_str

Create a PrivateKey instance from case insensitive hex bytes.

public_key_from_hex_str

Create a PublicKey instance from case insensitive hex bytes.

Type Definitions

PrivateKey

A private key used for encrypting data.

PublicKey

A public key used for decrypting data.