Documentation
¶
Index ¶
- func CompareHash(ciphertext, plaintext string) bool
- func DecryptAES(key, ciphertext string) (string, error)
- func DecryptRC4(key, ciphertext string) (string, error)
- func DecryptRSA(privateKeyValue, ciphertext string) (string, error)
- func EncryptAES(key, plaintext string) (string, error)
- func EncryptRC4(key, plaintext string) (string, error)
- func EncryptRSA(publicKeyValue, plaintext string) (string, error)
- func GenerateRSAKeys() (string, string, error)
- func HashAndSalt(plaintext string) (string, error)
- func HmacSHA1(key, plaintext string) string
- func HmacSHA256(key, plaintext string) string
- func HmacSHA512(key, plaintext string) string
- func MD5(plaintext string) string
- func SHA1(plaintext string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareHash ¶
func DecryptAES ¶
func DecryptRC4 ¶
func DecryptRSA ¶
func EncryptAES ¶
func EncryptRC4 ¶
func EncryptRSA ¶
func GenerateRSAKeys ¶
func HashAndSalt ¶
func HmacSHA256 ¶
func HmacSHA512 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.