Giter Site home page Giter Site logo

baderouaich / enigma Goto Github PK

View Code? Open in Web Editor NEW
18.0 3.0 3.0 72.65 MB

A Simple, Reliable and Efficient Encryption Tool

Home Page: https://baderouaich.github.io/Enigma/

License: MIT License

C++ 82.89% CMake 0.32% C 16.79%
cryptopp dear-imgui glfw3 windows linux enigma tripledes twofish blowfish chacha20poly1305

enigma's Introduction

Enigma

MIT License Static Analysis Status Docs Language

A Simple, Reliable and Efficient Encryption Tool (for personal use)

CI Status

Operating system Build status
Ubuntu GCC (x64) Ubuntu
Ubuntu GCC Tests (x64) Ubuntu
Ubuntu Clang (x64) Ubuntu
Ubuntu Clang Tests (x64) Ubuntu
Windows MinGW (x64) Windows
Windows MinGW Tests (x64) Windows
Windows MSVC (x64) Windows
Windows MSVC Tests (x64) Windows

Supported Encryption Algorithms

All Authenticated Encryption

Ordered by strength

  • RSA-OAEP-SHA256
  • AES-GCM
  • ChaCha20Poly1305
  • Camellia-GCM
  • Serpent-GCM
  • Twofish-GCM
  • IDEA-EAX
  • Blowfish-EAX
  • TripleDES-EAX

Extra Tools

  • Strong Password Generator
  • Hashing Algorithms (MD2, MD4, MD5, SHA1, SHA224, SHA256, SHA384, SHA512, SHAKE128, SHAKE256, KECCAK224, KECCAK256, KECCAK384, KECCAK512, RIPEMD128,RIPEMD160,RIPEMD256,RIPEMD320, TIGER, WHIRLPOOL, SM3)
  • XOR Encryption for nerds
  • System & Hardware Information (CPU, RAM, GPU, OS, Kernel...)

UI

  • Main Menu Main-Menu-Demo
  • Straight forward Straightforward
  • Supports the strongest encryption algorithms Supports-Strongest-Encryption-Algorithms
  • Save Encryptions to a local database (an SQLite3 database which you can export/import) My-Encryptions-Demo
  • Extra Utilities Tools-Demo

Compiling & Installing

git clone https://github.com/baderouaich/Enigma
cd Enigma
mkdir build && cd build
cmake .. -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release # or -G"Visual Studio 17 2022" to use the MSVC compiler
make install -j$(nproc) # or -j%NUMBER_OF_PROCESSORS% on Windows
  • All Enigma files will be installed to /home/$(whoami)/Enigma/ (Linux) | C:\Program Files\Enigma\ (Windows)
  • To uninstall simply remove the installed Enigma/ directory. Please make sure you export your encryptions from menu File -> Exportbefore removing the directory.

License

MIT License

Features and bugs

If you face any problems feel free to open an issue at the issue tracker. If you feel the program is missing a feature, please raise a ticket on Github. Pull requests are also welcome.

enigma's People

Contributors

baderouaich avatar swicked86 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

enigma's Issues

error: Decryption Failure: Could not auto-detect algorithm used for encryption

The decrypt action in Enigma fails with the message

Could not auto-detect algorithm used for encryption

2022-10-12_22h23_24

Version: 2.1.0
OS: Windows 10 x64 DE

Settings

Algorith: Twofish
Cipher: N1ayjeHpeFQvRSmTnj87WaX71XptTKgJfGRj0ZiKkdc=
Password: 123

I created the cypher with the tool on:
https://www.tools4noobs.com/online_tools/encrypt/
Password: 123
Input: My secret for Enigma
Mode: CBC
Output Encoding: Base64
Algorithm: Twofish
Result: N1ayjeHpeFQvRSmTnj87WaX71XptTKgJfGRj0ZiKkdc=

ChaCha20Poly1305 bug?

Hi!
I think there's a bug in the ChaCha20Poly1305 implementation. For my setup, the decryption and authentication completely fails. From a brief look on the source code, it looks that you are using the "AuthenticatedEncryptionFilter" together with a "StringSink" construction, almost identical to the (apparently) correct AES module. But from the official cryptopp wiki, it seems that one need to use "EncryptAndAuthenticate" and then "DecryptAndVerify" interfaces with ChaCha20Poly1305. Here's the source file path and wiki references:

Source/Algorithm/ChaCha20/ChaCha20.cpp
https://cryptopp.com/wiki/ChaCha20Poly1305

BTW, It's really a great project, thank you for it!
NB: I'm by no means an expert in cryptography. I'm just looking on code here :)

Way to build this without x11 stuff

Hello. Is there a way to build this without needed the x11 headers? We want to use this as a CLI based tool only and would rather not bring more libraries in than we need. Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.