Module prople_crypto::eddsa

source ·
Expand description

eddsa is a module that provides a set of abstraction built on top of ed25519_dalek library.

The abstractions designed to make it easier to working with several important concepts:

  • Keypair
  • Public Key
  • Private Key
  • Signature

The EdDSA algorithm used to provides digital signature. A signature that will be generated from a given message and signed using private key, that should be able to verify using the public key

Modules§

  • keypair module provide primary object to generate KeyPair which hold the SigningKey data structure
  • privkey is a module that provides a primary object of PrivKey
  • pubkey is a module that provides a PubKey data structure which will be used to verify given digital signature
  • signature module provides primary object of Signature which will be used to generate a digital signature based on given message (in bytes)
  • types is a module that provides all base types used at eddsa module