v2 – github.com/jcmturner/aescts/v2 Index | Files

package aescts

import "github.com/jcmturner/aescts/v2"

Package aescts provides AES CBC CipherText Stealing encryption and decryption methods

Index

Functions

func Decrypt

func Decrypt(key, iv, ciphertext []byte) ([]byte, error)

Decrypt the ciphertext with the key and the initial vector.

func Encrypt

func Encrypt(key, iv, plaintext []byte) ([]byte, []byte, error)

Encrypt the message with the key and the initial vector. Returns: next iv, ciphertext bytes, error

Source Files

aescts.go

Version
v2.0.0 (latest)
Published
Feb 4, 2020
Platform
js/wasm
Imports
4 packages
Last checked
now

Tools for package owners.