cipher

package
v0.0.0-...-3a79dc6 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTooShortCipherText = errors.New("ciphertext too short")

Functions

func Decrypt

func Decrypt(ctext, ks string) (string, error)

func Encrypt

func Encrypt(text, ks string) (string, error)

func GenerateKey

func GenerateKey(size int) (s string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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