🔐 CustomFlow-256 Cipher System

Asymmetric encryption ​➡︎ Encryption App ​➡︎

🚀 CustomFlow-256

A modern stream cipher based on ARX operations (Addition, Rotation, XOR) with a 512-bit internal state.

-
MB/s
256
Bit Key
20
Rounds
512
Bit State

Ultra Performance

Optimized for JavaScript with native 32-bit operations

🛡️

Attack Resistant

ARX design resistant to differential and linear cryptanalysis

🔄

Large State

512-bit internal state for increased security

🧮

Strong Key

PBKDF2 with 100,000 iterations + random salt

🔒 Encrypt File

🔓 Decrypt File

🔬 Algorithm Details

CustomFlow-256 is a modern stream cipher, optimized for software performance, with the following technical specifications:

📐 Core Structure

🔑 Key Expansion

⚙️ Quarter Round Function

The core of the cipher, which applies the specific ARX operations and rotations. The rotation is always to the left (rotl).

// Quarter Round Operations
a += b; d ^= a; d = rotl(d, 16);
c += d; b ^= c; b = rotl(b, 12);
a += b; d ^= a; d = rotl(d, 8);
c += d; b ^= c; b = rotl(b, 7);

🛡️ Security Features

📦 File Format

File Header (83+ bytes):
[5]  Magic bytes "CF256" (0x43 0x46 0x32 0x35 0x36)
[1]  Version (0x01)
[32] HMAC-SHA256 (of the header + encrypted data)
[32] Salt used for the key
[12] Nonce
[1]  Original filename length (n)
[n]  Original filename
... Encrypted Data ...

🏷 Buy License

The license removes the extension: .cf256


The key must be added on top of the cdn import.

<script>
  window.Cf256Config = {
    key: "Key"
  };
<script>


📄 Documentation

- View document