Documentation ¶
Index ¶
- func AESGCMEncrypt(key, data, additionalData []byte) (iv, encrypted, tag []byte, err error)
- func EncryptPassword(password, pubKeyEncoded string, pubKeyVersion int, t string) (string, error)
- func GenTOTP(secret string) (string, error)
- func RSADecodePublicKeyFromBase64(pubKeyBase64 string) (*rsa.PublicKey, error)
- func RSAPublicKeyPKCS1Encrypt(publicKey *rsa.PublicKey, data []byte) ([]byte, error)
- type ABool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AESGCMEncrypt ¶
func EncryptPassword ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.