Documentation ¶
Index ¶
- func DecryptWithPrivateKeyString(privateKey, cipher string) (string, error)
- func DecryptWithPublicKeyString(publicKey, cipher string) (string, error)
- func Encrypt(keyType, message string) (string, error)
- func EncryptWithPrivateKeyString(privateKey, message string) (string, error)
- func EncryptWithPublicKeyString(publicKey, message string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptWithPrivateKeyString ¶
DecryptWithPrivateKeyString decrypts the cipher with private key string
func DecryptWithPublicKeyString ¶
DecryptWithPublicKeyString decrypts the cipher with public key string
func EncryptWithPrivateKeyString ¶
EncryptWithPrivateKeyString encrypts the message with private key string
func EncryptWithPublicKeyString ¶
EncryptWithPublicKeyString encrypts the message with public key string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.