des

package
v1.2.41 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DES

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

func NewCBC

func NewCBC(key []byte, iv []byte, padding int) (v *DES, err error)

func NewEBC

func NewEBC(key []byte, padding int) (v *DES, err error)

func (*DES) Decrypt

func (d *DES) Decrypt(encrypted []byte) (plain []byte, err error)

func (*DES) Encrypt

func (d *DES) Encrypt(plain []byte) (encrypted []byte, err error)

Jump to

Keyboard shortcuts

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