Giter VIP home page Giter VIP logo

baderouaich / enigma Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 3.0 49.44 MB

A Simple, Reliable and Efficient UI + CLI Encryption Tool

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

License: MIT License

C++ 91.86% Lua 1.91% Shell 0.22% Batchfile 0.32% Makefile 5.68%
aes blowfish chacha20poly1305 cpp17 cryptography cryptopp dear-imgui decryption eax encryption enigma gcm glfw3 linux premake5 security tools tripledes twofish windows

enigma's Introduction

Metrics Code snippet of the day

enigma's People

Stargazers

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

Watchers

 avatar  avatar

enigma's Issues

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

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 :)

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.