Documentation ¶
Index ¶
- func DecryptEncryptionKey(encryptedKeyStr string, key symmetrickey.Key) (*symmetrickey.Key, error)
- func DecryptPrivateKey(encryptedPrivateKeyStr string, encryptionKey symmetrickey.Key) (*rsa.PrivateKey, error)
- func Encrypt(plainValue []byte, key symmetrickey.Key) (string, error)
- func HashPassword(password string, key symmetrickey.Key, localAuthorization bool) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptEncryptionKey ¶
func DecryptEncryptionKey(encryptedKeyStr string, key symmetrickey.Key) (*symmetrickey.Key, error)
func DecryptPrivateKey ¶
func DecryptPrivateKey(encryptedPrivateKeyStr string, encryptionKey symmetrickey.Key) (*rsa.PrivateKey, error)
func HashPassword ¶
func HashPassword(password string, key symmetrickey.Key, localAuthorization bool) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.