crypt

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

https://stackoverflow.com/questions/18817336/golang-encrypting-a-string-with-aes-and-base64#18819040

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key struct {
	Value []byte
}

func (Key) Decrypt

func (k Key) Decrypt(text []byte) ([]byte, error)

func (Key) Encrypt

func (k Key) Encrypt(text []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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