aescts

package module
v2.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2020 License: Apache-2.0 Imports: 4 Imported by: 44

Documentation

Overview

Package aescts provides AES CBC CipherText Stealing encryption and decryption methods

Index

Constants

This section is empty.

Variables

This section is empty.

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL