Versions in this module Expand all Collapse all v0 v0.1.0 Apr 25, 2020 Changes in this version + func MustParseASN1RSAPublicKey(data []byte) *rsa.PublicKey + func NewECBDecrypter(b cipher.Block) cipher.BlockMode + func NewECBEncrypter(b cipher.Block) cipher.BlockMode + func ParseASN1RSAPublicKey(data []byte) (*rsa.PublicKey, error) + func RSAEncrypt(pubkey *rsa.PublicKey, msg []byte) ([]byte, error) + func SHA1String(data []byte) string + func SHA1Sum(data []byte) []byte + func SymmetricDecrypt(ciph cipher.Block, src []byte) []byte + func SymmetricEncrypt(ciph cipher.Block, src []byte) ([]byte, error)