Skip to content

elizarpif/camellia

Repository files navigation

Camellia

Library realizes the Camellia algorythm

cipher, err := NewCameliaCipher(key)
if err != nil {
    log.Fatalf("err: %v", err)
}

var b [16]byte

cipher.Encrypt(b[:], messageText)
cipher.Decrypt(b[:], cipherText)