Module chain_crypto::asymlock
source · Expand description
Simple Assymmetric locking mechanism using:
- prime order group for DH
- HKDF for KDF
- chacha20poly1305 for symmetric encryption algorithm
Enums
Constants
Functions
- Decrypt data in the asymmetric lock. this is the dual of ‘encrypt’. The data should in the form:
- Encrypt data in an assymetric lock