Skip to content

pedroalbanese/anubiscrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnubisCrypt

ISC License GoDoc GitHub downloads Go Report Card GitHub go.mod Go version GitHub release (latest by date)

Barreto & Rijmen 128-bit block cipher with GCM Mode (RFC 5288) provides both authenticated encryption (confidentiality and authentication) and the ability to check the integrity and authentication of additional authenticated data (AAD) that is sent in the clear. Whirlpool-based PBKDF2. Anubis is a block cipher with SP-network structure designed by Vincent Rijmen and Paulo S. L. M. Barreto in 2000.

Command-line Anubis-GCM Encryption Tool

Usage of anubiscrypt:
anubiscrypt [-d] -p "pass" [-i N] [-s "salt"] -f <file.ext>
  -a string
        Additional Associated Data.
  -d    Decrypt instead of Encrypt.
  -f string
        Target file. ('-' for STDIN)
  -i int
        Iterations. (for PBKDF2) (default 1)
  -k string
        Symmetric key to Encrypt/Decrypt.
  -p string
        Password-based key derivation function 2.
  -r    Generate random cryptographic key with 128-bit.
  -s string
        Salt. (for PBKDF2)

Example:

./anubiscrypt -k "" -f plaintext.ext > ciphertext.ext
./anubiscrypt -d -k $128bitkey -f ciphertext.ext > plaintext.ext

License

This project is licensed under the ISC License.

Industrial-Grade Reliability. Copyright (c) 2020-2022 ALBANESE Research Lab.