des

package
v0.0.0-...-9c04300 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(dst, key []byte) ([]byte, error)

func Encrypt

func Encrypt(src, key []byte) ([]byte, error)

Types

type DES

type DES struct {
	// contains filtered or unexported fields
}

func New

func New(key []byte) (*DES, error)

func (*DES) Decrypt

func (d *DES) Decrypt(dst []byte) []byte

func (*DES) Encrypt

func (d *DES) Encrypt(src []byte) []byte

Jump to

Keyboard shortcuts

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