/aes_sbox

Golang AES Sbox implementation

Primary LanguageGoGNU General Public License v3.0GPL-3.0

aes-sbox

Golang AES Sbox implementation

https://golang.org/pkg/crypto/aes/

Encryption method

Sample command

  • Encrypt a message using aes key
  • Usage: aes_sbox --help

After Encryption: Key and encrypted file will be put into crypto folder.

After Decryption: The decrypted file will be put into output folder with its original extension.

CTR

$ aes_sbox -do "encrypt" -mode "CTR" -keysize 32 -file "test_img.jpg"
$ aes_sbox -do "decrypt" -mode "CTR" -keysize 32 -file "test_img.jpg"

CFB

$ aes_sbox -do "encrypt" -mode "CFB" -keysize 32 -file "test_img.jpg"
$ aes_sbox -do "decrypt" -mode "CFB" -keysize 32 -file "test_img.jpg"

OFB

$ aes_sbox -do "encrypt" -mode "OFB" -keysize 32 -file "test_img.jpg"
$ aes_sbox -do "decrypt" -mode "OFB" -keysize 32 -file "test_img.jpg"

Contact

vnkeymaster(at)gmail.com