Skip to content

PsiCrypt/SFC_MC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 SFCMC

Super Fast Compact Multifunctional Cipher


Build Status Open Issues License Last Commit

📖 Description

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.

🧪 Benchmarks

Encryption speed: ~5%-20% faster than ChaCha20

Entropy: =8.00000 bits/byte stable

Autocorellation: ~0.0000 (0.0004 max)

📊 Benchmark Results

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

📚 Visualizations

📚 Source cose

The source code is intended to demonstrate the principle of the algorithm without optimizations. You can improve it and unsubscribe here.

🛡 License

This project is licensed under the MIT License. Free for personal and academic use with attribution.

E-mail: [email protected]

© 2025 PsiCrypt Project. All rights reserved.

Releases

No releases published

Packages

No packages published