Documentation ¶
Index ¶
- Constants
- func CheckMAC(message, messageMAC, key []byte) bool
- func DecodeString(text string, c cipher.Block) (string, error)
- func Encode(plaintext []byte, c cipher.Block) string
- func EncodeString(text string, c cipher.Block) string
- func GetCipher(key string) (cipher.Block, error)
- func MAC(message, key []byte) []byte
- func RegisterEncryption(name string, e Encoding)
- type Encoding
Constants ¶
View Source
const F_Decrypt = "decrypt"
View Source
const F_Encrypt = "encrypt"
View Source
const SECRET = "spiff is a cool tool"
View Source
const TRIPPLEDES = "3DES"
Variables ¶
This section is empty.
Functions ¶
func RegisterEncryption ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.