Module crypto

Module crypto 

Source
Expand description

This module contains all the cryptographic-related logic for the application.

It includes modules for:

  • hpke: A simplified implementation of Hybrid Public Key Encryption.
  • identity: Management of the user’s identity, including libp2p and HPKE keypairs.
  • storage: Encryption of data at rest.

Re-exports§

pub use hpke::HpkeContext;
pub use identity::Identity;
pub use storage::StorageEncryption;

Modules§

hpke
This module implements a simplified version of Hybrid Public Key Encryption (HPKE).
identity
This module manages the user’s identity, which consists of a libp2p keypair and an HPKE keypair.
storage
This module handles the encryption of data at rest.