Versions in this module Expand all Collapse all v0 v0.0.4 Sep 19, 2023 v0.0.2 Nov 15, 2022 Changes in this version + func PKCS7Padding(data []byte, blockSize int) ([]byte, error) + func PKCS7UnPadding(plantText []byte) []byte + func RsaEncrypt(message []byte, keyFileName string) ([]byte, error) + type AesCipher interface + Decrypt func(encrypted []byte) ([]byte, error) + Encrypt func(plaintext []byte) ([]byte, error) + Iv func() []byte + Key func() []byte + func AesWithRandomKey(keySize int) (AesCipher, error) + func NewAes(key, iv []byte) (AesCipher, error)