SFCMC is a high-performance, compact simple cryptor.
Key features:
- Super high-performance (faster than chacha20)
- Super simple and easy
- Easy change of parameters for experiments
- Easily optimized for multithreading and new hardware architectures
- Passed tests from NIST SP 800-22 Statistical Test Suite.
Encryption speed: ~5%-20% faster than ChaCha20
Entropy: =8.00000 bits/byte stable
Autocorellation: ~0.0000 (0.0004 max)
Intel Xeon E5-2670 v2 (single core) CFCMC and ChaCha20 builded in one application for testing without optimizations. compiler LLVM 142
Cipher | Speed (MB/s) | Entropy | Autocorrelation |
---|---|---|---|
ChaCha20 | 205.28 | 8.0000 | -0.0004 |
SFCMS | 216.19 | 8.0000 | -0.0000 |
ChaCha20 | 208.09 | 8.0000 | -0.0004 |
SFCMS | 217.36 | 8.0000 | -0.0002 |
ChaCha20 | 208.00 | 8.0000 | -0.0003 |
SFCMS | 219.59 | 8.0000 | -0.0001 |
Random test: 100MB random block, random key & nonce.
NIST STS Results:
ChaCha20 each time a different random buffer and random key
SFCMS each time a different random buffer and random key
SFCMS each time filled with zeros buffer and a different random key
The source code is intended to demonstrate the principle of the algorithm without optimizations. You can improve it and unsubscribe here.
This project is licensed under the MIT License. Free for personal and academic use with attribution.
E-mail: psicrypt@keemail.me
ยฉ 2025 PsiCrypt Project. All rights reserved.