aes

package
v0.0.0-...-97e1097 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package aes implements AES functions used by the protocol.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CBCDecrypt

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

CBCDecrypt decrypts a ciphertext message via AES encryption in cipher block chaining mode.

func CBCEncrypt

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

CBCEncrypt encrypts a plaintext message via AES encryption in cipher block chaining mode.

Types

This section is empty.

Jump to

Keyboard shortcuts

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