Hawkynt

NewDES

New Data Encryption Standard by Robert Scott. Educational implementation of a 64-bit block cipher with 120-bit keys, designed to be easier to implement than DES.

Properties

Property Value
Category Block Ciphers
Sub-category Block Cipher
Security status πŸŽ“ Educational Only
Complexity Intermediate
Inventor Robert Scott
Year 1985
Origin πŸ‡ΊπŸ‡Έ United States
Source algorithms/block/newdes.js

Parameters

Parameter Supported values
Key sizes 15 bytes (120 bits)
Block sizes 8 bytes (64 bits)

Security

Status: πŸŽ“ Educational Only

No vulnerabilities are recorded for this implementation.

Documentation

References

Test vectors

3 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.

Vector 1 β€” Riordan reference implementation - all-zero plaintext

Field Value
key 0123456789abcdef0123456789abcd
input 0000000000000000
expected 7f603881d097f619

Vector 2 β€” Riordan reference implementation - all-zero key

Field Value
key 000000000000000000000000000000
input 0123456789abcdef
expected f1e7afca1dee9aed

Vector 3 β€” Riordan reference implementation - two blocks

Field Value
key 000102030405060708090a0b0c0d0e
input 000102030405060708090a0b0c0d0e0f
expected 255cc7953fee5aebe798c886a6eb4ab0

← All algorithms