aes256gcm

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 5 Imported by: 0

README

aes256-gcm

Symmetric encryption with AES-256 GCM

Documentation

Overview

Package for symmetric encryption with AES-256 GCM

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cipher

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

func NewCipher

func NewCipher(key []byte) *Cipher

func (*Cipher) Decrypt

func (c *Cipher) Decrypt(dst []byte) ([]byte, error)

Decrypt bytes.

func (*Cipher) Encrypt

func (c *Cipher) Encrypt(src []byte) ([]byte, error)

Encrypt bytes.

Jump to

Keyboard shortcuts

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