Hawkynt

RTEA (DarkCrypt)

TEA-family block cipher from the DarkCrypt Total Commander plugin: round index used directly as the additive constant (no DELTA-derived sum), 8-word (256-bit) key cycled by round index mod 8, 64 rounds. 64-bit block, 256-bit key.

Properties

Property Value
Category Block Ciphers
Sub-category Block Cipher
Security status πŸŽ“ Educational Only
Complexity Beginner
Inventor Alexander Myasnikov (DarkCrypt β€œZarya” project)
Year 2013
Origin πŸ‡·πŸ‡Ί Russia
Source algorithms/block/darkcrypt-rtea.js

Parameters

Parameter Supported values
Key sizes 32 bytes (256 bits)
Block sizes 8 bytes (64 bits)

Security

Status: πŸŽ“ Educational Only

Known vulnerabilities

Issue Description Mitigation
Non-standard, unanalyzed construction TEA-family variant with a linear (non-DELTA) round constant; unanalyzed and not recommended for real use. Use AES or another vetted cipher.

Documentation

Test vectors

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

Vector 1 β€” DarkCrypt Rtea β€” zero key/plaintext

Field Value
key 0000000000000000000000000000000000000000000000000000000000000000
input 0000000000000000
expected 84a025cf2f126e6f

Vector 2 β€” DarkCrypt Rtea β€” incrementing key/plaintext

Field Value
key 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
input 0001020304050607
expected dcebdac1481e6e22

Vector 3 β€” DarkCrypt Rtea β€” shifted incrementing key/plaintext

Field Value
key 0102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f20
input 1011121314151617
expected 784ac367c38dc08d

← All algorithms