Versions in this module Expand all Collapse all v0 v0.0.1 Aug 26, 2022 Changes in this version + var ECDSA ecdsaKey + var Public publicKey + var RSA rsaKey + func Decrypt(data []byte, key, iv []byte) ([]byte, error) + func Encrypt(data []byte, key, iv []byte) ([]byte, error) + func PKCS7Padding(data []byte) []byte + func ParsePrivatePem(value string) (pri, pub interface{}, err error) + func ParsePublicPem(value string) (interface{}, error) + func UnPKCS7Padding(data []byte) []byte Other modules containing this package github.com/fox-one/pkg