aes

package
v0.0.0-...-d3da849 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const BlockSize = 16

Variables

This section is empty.

Functions

func AesCbcDecrypt

func AesCbcDecrypt(buf, key, iv []byte) []byte

func AesCbcEncrypt

func AesCbcEncrypt(buf, key, iv []byte) []byte

func NewAes

func NewAes(key []byte) cipher.Block

Types

type AesCtr

type AesCtr struct {
	// contains filtered or unexported fields
}

func NewAesCtr

func NewAesCtr(key []byte, nonce uint64) *AesCtr

func (*AesCtr) Process

func (aesCtr *AesCtr) Process(input []byte) []byte

Jump to

Keyboard shortcuts

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