Documentation ¶
Index ¶
Constants ¶
View Source
const ( AesKeyLength = 32 AnnotationBase64 = "@base64:" AnnotationEncrypted = "@encrypted:" HeaderLength = 2 )
Variables ¶
This section is empty.
Functions ¶
func TryDecrypt ¶
func TryDecrypt(payload string, key *rsa.PrivateKey) ([]byte, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.