An open API service indexing awesome lists of open source software.

https://github.com/pedroalbanese/anubiscrypt

Anubis 128-bit SPN Block cipher Encryption Tool
https://github.com/pedroalbanese/anubiscrypt

anubis-cipher gcm go golang symmetric-cryptography whirlpool

Last synced: 8 months ago
JSON representation

Anubis 128-bit SPN Block cipher Encryption Tool

Awesome Lists containing this project

README

          

# AnubisCrypt
[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](https://github.com/pedroalbanese/anubiscrypt/blob/master/LICENSE.md)
[![GoDoc](https://godoc.org/github.com/pedroalbanese/anubiscrypt?status.png)](http://godoc.org/github.com/pedroalbanese/anubiscrypt)
[![GitHub downloads](https://img.shields.io/github/downloads/pedroalbanese/anubiscrypt/total.svg?logo=github&logoColor=white)](https://github.com/pedroalbanese/anubiscrypt/releases)
[![Go Report Card](https://goreportcard.com/badge/github.com/pedroalbanese/anubiscrypt)](https://goreportcard.com/report/github.com/pedroalbanese/anubiscrypt)
[![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/pedroalbanese/anubiscrypt)](https://golang.org)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/pedroalbanese/anubiscrypt)](https://github.com/pedroalbanese/anubiscrypt/releases)

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:
```sh
./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.