Flbw
Dynamic & lightweight C++ encryption algorithm using a password or not, changing the encrypted string each time it is submitted even if the original string hasn't changed.
Install / Use
/learn @flavienbwk/FlbwREADME
What is FLBW ?
FLBW is a dynamic and lightweight C++ encryption algorithm allowing you to encrypt a string with or without a password.
This algorithm generates a different string each time the same plain string is submitted, even with the same password.
It also provides a customisable difficulty bruteforce protection.
Current version : (cpp) 0.7.1
Installation
Classic install for permanent usage :
sudo make install
flbw # ... (see usage below)
:information_source: You can uninstall with sudo make uninstall.
Classic install for temporary usage :
make
./flbw # ... (see usage below)
Usage
You have two ways of using the FLBW algorithm :
- Encrypt or decrypt a string.
- Encrypt or decrypt a file.
> For encryption :
flbw enc[bp 250000] password string # Add "bp" if you want to enable "bruteforce protection".
flbw encf[bp 250000] password file.txt [encrypted_destination.txt] # Last parameter is optional, the result will be printed if not specified.
flbw encbyf[bp 250000] passwordfile.txt file.txt [encrypted_destination.txt] # Last parameter is optional, the result will be printed if not specified.
> For decryption :
flbw dec[bp 250000] password encryptedstring
flbw decf[bp 250000] password encryptedfile.txt [decrypted_destination.txt] # Last parameter is optional, the result will be printed if not specified.
flbw decbyf[bp 250000] passwordfile.txt encryptedfile.txt [decrypted_destination.txt] # Last parameter is optional, the result will be printed if not specified.
The [bp 250000] sequence is optional. It is used to enable bruteforce protection to a difficulty of 250000.
You can modify it at your will, 250000 is just a reference.
Bruteforce protection
:warning: Enabling bruteforce protection greatly increases the security of your encryption but also greatly increases the encryption/decryption time.
:warning: The version 0.6 of FLBW introduces the possibility to encrypt with bruteforce protection for decryption. While it's working, it's not a long-term solution. It will be reviewed in the next releases.
Tests
Instructions for tests are in the tests directory.
Encryption mechanism
See the following schematics to understand how FLBW roughly work.
<p align="center"> <img src="https://i.imgur.com/mUTqn5p.png"/> </p>Related Skills
healthcheck
346.8kHost security hardening and risk-tolerance configuration for OpenClaw deployments
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
prose
346.8kOpenProse VM skill pack. Activate on any `prose` command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows.
frontend-design
107.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
