Skip to content

Providing cryptography algorithm implementations for Rust

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

Apfelfrosch/hcl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

high level cryptograhpy library (hcl)

hcl provides implementations of various cryptograhic concepts such as ratchet.

It is backed by the excellent and well-audited libsodium.

Getting started

To get started, just create an instance of the Hcl struct like so:

let hcl = Hcl::new().unwrap();

After that, you can use the library through this variable. For more information, see examples or tests

Features implemented

  • Key generation
    • Symmetric Keys
    • Public/Private KeyPair
    • Public/Private Signing KeyPair
  • Cryptographically secure random data generation
    • Generate a random bytes and store into buffer
    • Generate a random number in a uniform distribution
  • Cryptographic signatures
  • Key derivation
  • Message padding
  • Ratchets
  • Base64 encoding and decoding

About

Providing cryptography algorithm implementations for Rust

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages