Versions in this module Expand all Collapse all v1 v1.0.1 Oct 26, 2020 Changes in this version + func AesDecryptCBC(encrypted []byte, key []byte) (decrypted []byte) + func AesDecryptCFB(encrypted []byte, key []byte) (decrypted []byte) + func AesDecryptECB(encrypted []byte, key []byte) (decrypted []byte, success bool) + func AesEncryptCBC(origData []byte, key []byte) (encrypted []byte) + func AesEncryptCBCWithIv(origData []byte, key []byte, iv []byte) (encrypted []byte) + func AesEncryptCFB(origData []byte, key []byte) (encrypted []byte) + func AesEncryptECB(origData []byte, key []byte) (encrypted []byte) + func ParsePublicKey(publicKey []byte) (*rsa.PublicKey, error) + func RSAEncrypt(origData []byte, publicKey []byte) (encrypted []byte) + func RSAEncryptV2(origData []byte, publicKey *rsa.PublicKey) []byte