Documentation
¶
Index ¶
- func Decrypt(key Decrypter, data []byte) ([]byte, error)
- func DecryptString(key Decrypter, data string) (string, error)
- func Encrypt(key Encrypter, data []byte) ([]byte, error)
- func EncryptString(key Encrypter, data string) (string, error)
- func Sign(key Signer, data []byte) ([]byte, error)
- func SignString(key Signer, data string) (string, error)
- func VerifySignature(key Verifier, data []byte, sig []byte) bool
- func VerifySignatureString(key Verifier, data string, sig string) bool
- type Decrypter
- type Encrypter
- type Key
- type Signer
- type SymmetricKey
- type Verifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptString ¶ added in v1.20.0
func EncryptString ¶ added in v1.20.0
Types ¶
type SymmetricKey ¶ added in v1.20.0
Source Files
¶
Click to show internal directories.
Click to hide internal directories.