#encryption #signature #digest #crypto #chacha20 #post-quantum-cryptography

libslug

A Rust Library For Cryptography Intended For Slug20 That Supports X59 Certificate Format and Post-Quantum Cryptography

1 unstable release

new 0.1.0 Jan 30, 2025

#2007 in Cryptography

Apache-2.0 OR MIT

32KB
683 lines

Slug20 Library

Description

slug20 is a tool used to encrypt data inspired by minisign. It is simple, minimilastic, and has advanced security built-in. It implements zeroize, subtle, and subtle-encoding for maxmimum security.

On top of encryption, it creates a new standard for Modern Certificates using YAML. Its format (X59CERT) is lightweight and can easily be serialized.

It extends to include development of modern, decentralized PKI systems and modular formats for use with different systems.

Features

  • Default Encryption: ECIES Encryption over Curve25519 using AES-GCM
  • Cert Format: X59 Certificate Standard
  • Message-Types: Supports UTF-8 Messages (so we can include emojis)
  • Encryption: AES-GCM 256 + ChaCha20-Poly1305
  • Randomness Generation: Supports Randomness Generation from the Operating System.

X59Registar

X59Registar is a novel project being developed for decentralized public-key infrastructures using the X59CERT format in YAML.

Dependencies

~30MB
~648K SLoC