aes256

package
v0.0.0-...-62bfe6a Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCodec

func NewCodec(config Config) (crypto.Codec, error)

NewCodec returns a new aes256-based implementation of crypto.Codec

Types

type Config

type Config struct {
	Key string
}

Config represents configuration options for the AES256-based implementation of the Crypto interface

func NewConfigWithDefaults

func NewConfigWithDefaults() Config

NewConfigWithDefaults returns a Config object with default values already applied. Callers are then free to set custom values for the remaining fields and/or override default values.

Jump to

Keyboard shortcuts

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