des

package
v0.0.0-...-4926435 Latest Latest
Warning

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

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

Documentation

Overview

Package des implements the Data Encryption Standard (DES) and the Triple Data Encryption Algorithm (TDEA) as defined in U.S. Federal Information Processing Standards Publication 46-3.

DES is cryptographically broken and should not be used for secure applications.

Index

Constants

View Source
const BlockSize = 8

Variables

This section is empty.

Functions

func NewTripleDESCBCDecrypter

func NewTripleDESCBCDecrypter(key []byte) (cipher.BlockMode, error)

NewTripleDESCBCDecrypter creates and returns a new cipher.BlockMode implementing the SSH1 variation of CBC mode 3DES.

Types

type KeySizeError

type KeySizeError int

func (KeySizeError) Error

func (k KeySizeError) Error() string

Jump to

Keyboard shortcuts

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