Versions in this module Expand all Collapse all v0 v0.1.5 Nov 16, 2024 Changes in this version + func AESDecrypt(ciphertext []byte, iv []byte, key []byte) ([]byte, error) + func AESEncrypt(plaintext []byte, iv []byte, key []byte) ([]byte, error) + func B32D(ciphertext string) string + func B32E(plaintext string) string + func B64D(ciphertext string) string + func B64E(plaintext string) string + func Bcrypt(plaintext []byte) ([]byte, error) + func Chacha20Decrypt(data []byte, key []byte) ([]byte, error) + func Chacha20Encrypt(data []byte, key []byte) ([]byte, error) + func DecryptFile(file string, psk string, iv []byte) error + func EllipticCurveDecrypt(priv_key []byte, ciphertext []byte) ([]byte, error) + func EllipticCurveEncrypt(priv_key []byte, plaintext []byte) ([]byte, error) + func EncryptFile(file string, psk string, iv []byte) error + func GenerateIV() ([]byte, error) + func Md5(plaintext []byte) string + func Morse(input string) (string, error) + func PKCS5Padding(ciphertext []byte, blockSize int) []byte + func PKCS5Trimming(encrypt []byte) []byte + func Rc4Decrypt(ciphertext []byte, psk []byte) ([]byte, error) + func Rc4Encrypt(plaintext []byte, psk []byte) ([]byte, error) + func Rot13(input string) string + func Rot47(input string) string + func Sha1(plaintext []byte) string + func Sha256(plaintext []byte) string + func Sha512(plaintext []byte) string + func TripleDesDecrypt(data, key []byte) ([]byte, error) + func TripleDesEncrypt(data, key []byte) ([]byte, error) + func VerifyBcrypt(hash []byte, plaintext []byte) bool + func VerifyMd5(hash string, password string) bool + func VerifySha1(hash string, password string) bool + func VerifySha256(hash string, password string) bool + func VerifySha512(hash string, password string) bool + func Xor(buf []byte, xorchar byte) []byte