Versions in this module Expand all Collapse all v0 v0.0.1 Apr 22, 2023 Changes in this version + const EncodingAES + const EncodingBASE64 + const EncodingHEX + const SssTypeGalois + const SssTypeGf256 + func AesDecryptCBC(encrypted []byte, key []byte) (decrypted []byte) + func AesDecryptCBCFromBase64(encrypted string, key string) (decrypted string) + func AesDecryptCFB(encrypted []byte, key []byte) (decrypted []byte) + func AesDecryptCFBFromBase64(encrypted string, key string) (decrypted string) + func AesDecryptECB(encrypted []byte, key []byte) (decrypted []byte) + func AesDecryptECBFromBase64(encrypted string, key string) (decrypted string) + func AesEncryptCBC(origData []byte, key []byte) (encrypted []byte) + func AesEncryptCBCToBase64(origData string, key string) (encrypted string) + func AesEncryptCFB(origData []byte, key []byte) (encrypted []byte) + func AesEncryptCFBToBase64(origData string, key string) (encrypted string) + func AesEncryptECB(origData []byte, key []byte) (encrypted []byte) + func AesEncryptECBToBase64(origData string, key string) (encrypted string) + func Decrypt(sssType string, shares string, encoding, pwd string) ([]byte, error) + func Encrypt(parts, threshold int, sssType string, secret string, isSecretHex bool, ...) ([]byte, error)