FalseCrypt is demonstration project for the Roslyn-based static code analysis tool Sharper Crypto-API Analysis.
FalseCrypt is a file encryption tool like TrueCrypt or BitDefender. Its code contains many weaknesses like the insecure usage of the old DES block cipher. The project was developed to demonstrate the code analysis findings offered by Sharper Crypto-API Analysis.
By any means the source code of this project does NOT contain any good usage of the .NET Crypto API. It should therefore not be used for any serious production code.
Currently only windows x64 dependencies are added of swt, maybe you need: Maven SWT Linux Maven SWT Mac
- run Maven with goal "package"
- insert password
- insert absolute path to file or directory (processing every file on its own)
- hit encrypt / decrypt
- Supporting Android 8/8.1/9
- Crypto should be identically with java_desktop
- below 8 would need different Crypto as java_desktop, some methods aren't available
- Android 10+ needs Android SAF, java.io.File doesn't work on sdcard (short explanation), DocumentFile is needed everywhere. The GUI/Activity is prepared, see TODO comments.