symmetric

package
v1.5.23 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 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
	CAESKeyType   = "go-peer/aes"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ICipher

type ICipher interface {
	crypto.IEncrypter
	crypto.IDecrypter
	crypto.IParameter
}

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