sealer

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AESGCM

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

AESGCM seals secrets with AES-256-GCM. The key may be any length; it is normalized to 32 bytes via SHA-256 when needed.

func New

func New(key []byte) (*AESGCM, error)

func (*AESGCM) Open

func (s *AESGCM) Open(sealed string) (string, error)

func (*AESGCM) Seal

func (s *AESGCM) Seal(plain string) (string, error)

Jump to

Keyboard shortcuts

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