secry-1.2.4 is not a library.
secry
Secure token encryption CLI. Encrypt text, files and secrets with modern authenticated encryption.
Install
Also available via npm and pip:
Both secry and sec commands are available after install.
Algorithms
| Flag | Algorithm | Nonce |
|---|---|---|
| (none) | AES-256-GCM | 96-bit |
| --v2 | ChaCha20-Poly1305 | 96-bit |
| --v3 | XChaCha20-Poly1305 | 192-bit |
All versions use scrypt (N=16384, r=8, p=1) for key derivation.
Usage
# encrypt
# decrypt (accepts secry:, sec: and legacy rwn64: tokens)
# verify token
# generate password
# fingerprint
# one-way seal
# inspect token
# sec alias — identical to secry
Token format
secry:v1: AES-256-GCM (full)
secry:v2: ChaCha20-Poly1305 (full)
secry:v3: XChaCha20-Poly1305 (full)
secry:s1: HMAC-SHA256 seal (one-way, full)
secry:s2: BLAKE3 seal (one-way, full)
sec:v1: AES-256-GCM (compact)
sec:v2: ChaCha20-Poly1305 (compact)
sec:v3: XChaCha20-Poly1305 (compact)
sec:s1: HMAC-SHA256 seal (one-way, compact)
sec:s2: BLAKE3 seal (one-way, compact)
rwn64:v1: legacy (still accepted by denc/verify/info)
Compact mode (--compact) uses smaller salt and nonce, producing shorter tokens at the cost of slightly reduced security margin. Use full mode for high-security scenarios.
License
MIT