Hawkynt

KAIRAKAN (DarkCrypt)

KAIRAKAN as implemented in the DarkCrypt Total Commander plugin. 128-bit block, 256-bit key.

Properties

Property Value
Category Block Ciphers
Sub-category Block Cipher
Security status 🎓 Educational Only
Complexity Intermediate
Inventor Alexander Myasnikov (DarkCrypt plugin)
Year 2013
Origin 🇷🇺 Russia
Source algorithms/block/darkcrypt-kairakan.js

Parameters

Parameter Supported values
Key sizes 32 bytes (256 bits)
Block sizes 16 bytes (128 bits)

Security

Status: 🎓 Educational Only

No vulnerabilities are recorded for this implementation.

Documentation

Test vectors

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

Vector 1 — DarkCrypt KAIRAKAN - all-zero key and plaintext

Field Value
key 0000000000000000000000000000000000000000000000000000000000000000
input 00000000000000000000000000000000
expected 6795457b71425ad102e674fcbb6dc37f

Vector 2 — DarkCrypt KAIRAKAN - incrementing key and plaintext

Field Value
key 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f
input 000102030405060708090a0b0c0d0e0f
expected cf82c6ffee48c2740ee52110b06133b9

Vector 3 — DarkCrypt KAIRAKAN - shifted incrementing key and plaintext

Field Value
key 0102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f20
input 101112131415161718191a1b1c1d1e1f
expected 159425a76c6113fd120c042391f901ba

← All algorithms