symmetric

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package symmetric is a wrapper on standard Go package - crypto/aes.

Index

Constants

View Source
const (
	CAESBlockSize = aes.BlockSize
	CAESKeySize   = 32
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ICipher

type ICipher interface {
	crypto.IEncrypter
	crypto.IDecrypter
}

func NewAESCipher

func NewAESCipher(pKey []byte) ICipher

Jump to

Keyboard shortcuts

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