Hawkynt

Snappy (DarkCrypt)

Undocumented 64-bit block cipher from the DarkCrypt Total Commander plugin: 16 rounds of an in-place, byte-at-a-time S-box mixing network where each byte position is XORed with a value folded from all other (partially updated) bytes of the block. No public specification is known.

Properties

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

Parameters

Parameter Supported values
Key sizes 16 bytes (128 bits)
Block sizes 8 bytes (64 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 Snappy β€” zero key/plaintext

Field Value
key 00000000000000000000000000000000
input 0000000000000000
expected e81e19d19331b4cd

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

Field Value
key 000102030405060708090a0b0c0d0e0f
input 0001020304050607
expected c214d81749ead2d4

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

Field Value
key 0102030405060708090a0b0c0d0e0f10
input 1011121314151617
expected 31632512e2b31965

← All algorithms