HMAC-SHA256 Feistel Cipher Implementation in Golang.
THIS IS HAND ROLLED CRYPTO RESEARCH CODE. USE AT YOUR OWN PERIL.
This code can be used as a library.
import(
"github.com/kumarde/feistel"
)
cipher := feistel.New()
msg = []byte{"This is a cool message that needs to be encrypted."}
encryptedMsg := cipher.Encrypt(msg)
decryptedMsg := cipher.Decrypt(encryptedMsg)