symmetric

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 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(r io.Reader) (*Key, error)

func (*Key) Bytes

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

func (*Key) String

func (s *Key) String() string

func (*Key) Wipe

func (s *Key) Wipe()

func (*Key) XorMask added in v0.2.1

func (s *Key) XorMask(m *Key)

masking or unmasking the key in memory

Jump to

Keyboard shortcuts

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