des

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package des implements the DES encryption algorithm.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDESCrypt

func NewDESCrypt(key []byte) *desCrypt

NewDESCrypt news a DESCrypt pointer with a key

func NewDesCryptWithDecode

func NewDesCryptWithDecode(key string, keyDataType gocrypto.Encode) *desCrypt

NewDesCryptWithDecode decodes key and then news a DESCrypt pointer with the key decoded

func NewTripleDESCrypt

func NewTripleDESCrypt(key []byte) *tripleDESCrypt

NewTripleDESCrypt news a TripleDESCrypt pointer with a key

func NewTripleDesCryptWithDecode

func NewTripleDesCryptWithDecode(key string, keyDataType gocrypto.Encode) *tripleDESCrypt

NewTripleDesCryptWithDecode decodes key and then news a TripleDESCrypt pointer with the key decoded

Types

This section is empty.

Jump to

Keyboard shortcuts

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