Documentation ¶
Index ¶
- func Decrypt(data string) (string, error)
- func DecryptBytes(data []byte) ([]byte, error)
- func DecryptBytesEntropy(data, entropy []byte) ([]byte, error)
- func DecryptEntropy(data, entropy string) (string, error)
- func Encrypt(secret string) (string, error)
- func EncryptBytes(data []byte) ([]byte, error)
- func EncryptBytesEntropy(data, entropy []byte) ([]byte, error)
- func EncryptBytesMachineLocal(data []byte) ([]byte, error)
- func EncryptBytesMachineLocalEntropy(data, entropy []byte) ([]byte, error)
- func EncryptEntropy(secret, entropy string) (string, error)
- func EncryptMachineLocal(secret string) (string, error)
- func EncryptMachineLocalEntropy(secret, entropy string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptBytes ¶
EncryptBytes encrypts a byte array and returns a byte array
func DecryptBytesEntropy ¶
func DecryptEntropy ¶
func EncryptBytes ¶
EncryptBytes encrypts a byte array and returns a byte array
func EncryptBytesEntropy ¶
func EncryptBytesMachineLocal ¶
EncryptBytesMachineLocal encrypts a byte array and returns a byte array and associates the data encrypted with the current computer instead of with an individual user.
func EncryptEntropy ¶
func EncryptMachineLocal ¶
EncryptMachineLocal a string value to a base64 string and associates the data encrypted with the current computer instead of with an individual user.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.