Crate fire_crypto

Source
Expand description

CI crates.io docs.rs

§Crypto library

Fire crypto ought to be a simple to use crypto providing encryption and signing.

§Dependency

Main dependency is dalek-cryptography.

§Features

  • cipher Enabling encryption and decryption
  • signature Enabling signing and verifying
  • b64 Enabling base64 support
  • serde Enabling serde support (needs b64 to work)

§Not verified

This crate has not passed any verification and may contain bugs.

Modules§

cipher
Contains structs used for encryption and decryption.
error
hash
Contains structs used for hashing.
signature
Contains structs used for signing and verifying.
token

Functions§

fill_random
Fills a slice with random bytes.
xor
Xors two buffers. Both buffers need to have the same length.