sbox

package
v0.0.0-...-c5d900d Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(encrypted []byte, secret *memguard.LockedBuffer) (decrypted []byte, err error)

func DecryptTo

func DecryptTo(encrypted []byte, secret *memguard.LockedBuffer, out []byte) (decrypted []byte, err error)

func Encrypt

func Encrypt(message []byte, secret *memguard.LockedBuffer) (encrypted []byte, err error)

func EncryptTo

func EncryptTo(message []byte, secret *memguard.LockedBuffer, out []byte) (encrypted []byte, err error)

func LenDecrypted

func LenDecrypted(encrypted []byte) int

func LenEncrypted

func LenEncrypted(message []byte) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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