Skip to main content
Module

x/crypto/des.ts>Des

🔐 Fastest crypto library for Deno written in pure Typescript. AES, Blowfish, CAST5, DES, 3DES, HMAC, HKDF, PBKDF2
Latest
class Des
implements BlockCipher
import { Des } from "https://deno.land/x/crypto@v0.10.1/des.ts";

Data Encryption Standard (DES) block cipher.

Note: This is a low level class. Use a block cipher mode to encrypt and decrypt data.

Constructors

new
Des(key: Uint8Array)

Methods

decryptBlock(data: DataView, offset: number)
encryptBlock(data: DataView, offset: number)

Static Properties

readonly
BLOCK_SIZE: number

The block size of the block cipher in bytes