symmetric

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key [32]byte

func FromBytes

func FromBytes(in []byte) *Key

func New

func New() (*Key, error)

func (*Key) Bytes

func (s *Key) Bytes() []byte

func (*Key) Mask

func (s *Key) Mask(xor *Key)

masking or unmasking the key in memory

func (*Key) String

func (s *Key) String() string

func (*Key) Wipe

func (s *Key) Wipe()

Jump to

Keyboard shortcuts

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