Golang AES Sbox implementation
https://golang.org/pkg/crypto/aes/
-
Encrypt a message using aes key
-
Encrypt a file using aes key
-
Encrypt a file using a message as a key
-
Mode: CTR, CBC, CFB, OFB (https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation)
- 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.
$ aes_sbox -do "encrypt" -mode "CTR" -keysize 32 -file "test_img.jpg"
$ aes_sbox -do "decrypt" -mode "CTR" -keysize 32 -file "test_img.jpg"
$ aes_sbox -do "encrypt" -mode "CFB" -keysize 32 -file "test_img.jpg"
$ aes_sbox -do "decrypt" -mode "CFB" -keysize 32 -file "test_img.jpg"
$ aes_sbox -do "encrypt" -mode "OFB" -keysize 32 -file "test_img.jpg"
$ aes_sbox -do "decrypt" -mode "OFB" -keysize 32 -file "test_img.jpg"
vnkeymaster(at)gmail.com