Hawkynt

Paranoia (DarkCrypt)

Undocumented 256-bit block cipher from the DarkCrypt Total Commander plugin: an 8-word generalized Feistel network over a 512-bit key, whose 48-round subkey table and 16-word whitening table are both generated by a 144-iteration, six-tap additive lagged-Fibonacci generator seeded from the key. No public specification is known.

Properties

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

Parameters

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

Security

Status: πŸŽ“ Educational Only

Known vulnerabilities

Issue Description Mitigation
Undocumented/unanalyzed design No public cryptanalysis exists for this cipher. 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 Paranoia β€” zero key/plaintext

Field Value
key 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000
input 0000000000000000000000000000000000000000000000000000000000000000
expected ddef11dc4dc6f82c49d317f0e3663344ddd564af8fc55fe91e6f676af9945be7

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

Field Value
key 000102030405060708090a0b0c0d0e0f 101112131415161718191a1b1c1d1e1f 202122232425262728292a2b2c2d2e2f 303132333435363738393a3b3c3d3e3f
input 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
expected 65ebd0608c5a22d201b0c753e56b05ccc8885d10aaa8ac0de3d847900ad22d20

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

Field Value
key 0102030405060708090a0b0c0d0e0f10 1112131415161718191a1b1c1d1e1f20 2122232425262728292a2b2c2d2e2f30 3132333435363738393a3b3c3d3e3f40
input 101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f
expected 6da97a35ce8481696eb617e05e0e190fa34a6a1843cf46cb0812b9770f71d9a8

← All algorithms