hcl

Crates.iohcl
lib.rshcl
version1.0.4
created_at2025-06-11 08:05:50.020856+00
updated_at2025-10-27 19:31:05.663674+00
descriptionhigh level cryptography library ready for production use
homepage
repositoryhttps://github.com/Apfelfrosch/hcl
max_upload_size
id1708305
size7,465,484
(Apfelfrosch)

documentation

README

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
Commit count: 4

cargo fmt