Documentation
¶
Index ¶
- func GetClearText(key AESKey, secretBlob string) (string, error)
- func GetEncryptedText(key AESKey, clearText string, algorithm string) (string, error)
- func InitBlock(aesKey AESKey) (cipher.Block, error)
- func Sign(aesKey AESKey, clearText string) (string, error)
- func VerifySignature(aesKey AESKey, signature, message string) (bool, error)
- type AESKey
- type AESSecret
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClearText ¶
GetClearText localkey Client just returns the clearText
func GetEncryptedText ¶
GetEncryptedText localkey Client just returns the cipherText
Types ¶
Click to show internal directories.
Click to hide internal directories.