package aescts
import "github.com/jcmturner/aescts/v2"
Package aescts provides AES CBC CipherText Stealing encryption and decryption methods
Index ¶
- func Decrypt(key, iv, ciphertext []byte) ([]byte, error)
- func Encrypt(key, iv, plaintext []byte) ([]byte, []byte, error)
Functions ¶
func Decrypt ¶
Decrypt the ciphertext with the key and the initial vector.
func Encrypt ¶
Encrypt the message with the key and the initial vector. Returns: next iv, ciphertext bytes, error
Source Files ¶
- Version
- v2.0.0 (latest)
- Published
- Feb 4, 2020
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- now –
Tools for package owners.