krypton

command module
v0.0.0-...-2514748 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

krypton — A comprehensive cryptographic library CLI.

Directories

Path Synopsis
example
digest command
Package main demonstrates hash digest usage (Family 1 and Family 2).
Package main demonstrates hash digest usage (Family 1 and Family 2).
encrypt command
Package main demonstrates symmetric encryption (Family 5 and Family 6).
Package main demonstrates symmetric encryption (Family 5 and Family 6).
fpe command
Package main demonstrates format-preserving encryption (Family 8).
Package main demonstrates format-preserving encryption (Family 8).
kdf command
Package main demonstrates key derivation (Family 9 and Family 10).
Package main demonstrates key derivation (Family 9 and Family 10).
keygen command
Package main demonstrates key pair generation (Family 12).
Package main demonstrates key pair generation (Family 12).
mac command
Package main demonstrates MAC computation (Family 3 and Family 4).
Package main demonstrates MAC computation (Family 3 and Family 4).
sign command
Package main demonstrates digital signatures (Family 12 and Family 13).
Package main demonstrates digital signatures (Family 12 and Family 13).
lib
cipher/siv
Package siv implements AES-SIV (Synthetic Initialization Vector) per RFC 5297.
Package siv implements AES-SIV (Synthetic Initialization Vector) per RFC 5297.
cipher/vol
Package vol implements Family 7: encrypt_vol(), decrypt_vol() — AES-256-XTS.
Package vol implements Family 7: encrypt_vol(), decrypt_vol() — AES-256-XTS.
config
Package config manages the cryptographic mode and algorithm registry for krypton.
Package config manages the cryptographic mode and algorithm registry for krypton.
drbg
Package drbg implements SP 800-90A Rev1 compliant Deterministic Random Bit Generators.
Package drbg implements SP 800-90A Rev1 compliant Deterministic Random Bit Generators.
encode
Package krypton provides customizable base-N encoding and decoding with optional checksum support, inspired by Bitcoin's Base58Check.
Package krypton provides customizable base-N encoding and decoding with optional checksum support, inspired by Bitcoin's Base58Check.
envelope
Package envelope provides the wire format for encrypted envelopes used by symmetric encryption (Family 5) and HPKE (Family 15).
Package envelope provides the wire format for encrypted envelopes used by symmetric encryption (Family 5) and HPKE (Family 15).
errors
Package errors defines all error codes used across the krypton library.
Package errors defines all error codes used across the krypton library.
types
Package types provides shared cryptographic types used across the krypton library.
Package types provides shared cryptographic types used across the krypton library.
pkg
cipher
Package cipher implements Families 5 and 6.
Package cipher implements Families 5 and 6.
fpe
Package fpe implements Family 8: fpe_encrypt(), fpe_decrypt().
Package fpe implements Family 8: fpe_encrypt(), fpe_decrypt().
hash
Package hash implements the digest and digest_xof function families (Families 1 and 2).
Package hash implements the digest and digest_xof function families (Families 1 and 2).
hpke
Package hpke implements Family 15: hpke_seal(), hpke_open().
Package hpke implements Family 15: hpke_seal(), hpke_open().
kdf
Package kdf implements Families 9 and 10.
Package kdf implements Families 9 and 10.
kem
Package kem implements Family 14: kem_encap(), kem_decap().
Package kem implements Family 14: kem_encap(), kem_decap().
keywrap
Package keywrap implements Family 16: key_wrap(), key_unwrap().
Package keywrap implements Family 16: key_wrap(), key_unwrap().
mac
Package mac implements Families 3 and 4 (MAC and MAC with IV).
Package mac implements Families 3 and 4 (MAC and MAC with IV).
password
Package password implements Family 11: password_hash(), password_verify().
Package password implements Family 11: password_hash(), password_verify().
sig
Package sig implements Families 12 and 13.
Package sig implements Families 12 and 13.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL