Skip to main content

Module keypair

Module keypair 

Source
Expand description

§Public/secret keypair tools

Provides an implementation for handling public/private keypairs based on libsodium’s crypto_box, which uses X25519.

Refer to the protected mod for details on usage with protected memory.

Modules§

protectedprotected
Protected memory for KeyPair

Structs§

KeyPair
Public/secret keypair for use with crate::dryocbox::DryocBox and libsodium-compatible public-key encryption.

Type Aliases§

PublicKey
Stack-allocated public key type alias.
SecretKey
Stack-allocated secret key type alias.
StackKeyPair
Stack-allocated key pair type alias.