aes

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package aes contains implementation and helper functions related specifically to "Advanced Encryption Standard" algorithm and cryptography in general.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Key256GenFn returns a function that generates a 32 bytes key
	Key256GenFn core.KeyGen = func(ctx context.Context, namespace, subID string) (string, error) {
		return string(getRandomBytes(aES265KeySize)), nil
	}
)

Functions

func New256GCMEncrypter

func New256GCMEncrypter() core.Encrypter

Types

This section is empty.

Jump to

Keyboard shortcuts

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