DES.this

this(const(ubyte)[] key)

Constructs a DES cipher with the given key.

Parameters

keyThe 8-byte key (56 bits + 8 parity bits).

Throws

CryptoException if the key length is not 8 bytes.