From 75c64329a4bab1f15d39ae20230f7cd517da330b Mon Sep 17 00:00:00 2001 From: Leonetienne Date: Mon, 6 Dec 2021 03:34:47 +0100 Subject: [PATCH] readme --- GhettoCrypt/GhettoCrypt.vcxproj | 4 ++-- GhettoCrypt/GhettoCrypt.vcxproj.filters | 10 +++++----- readme.md | 4 +++- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/GhettoCrypt/GhettoCrypt.vcxproj b/GhettoCrypt/GhettoCrypt.vcxproj index 38c0190..b9ae2ed 100644 --- a/GhettoCrypt/GhettoCrypt.vcxproj +++ b/GhettoCrypt/GhettoCrypt.vcxproj @@ -141,14 +141,14 @@ - + - + diff --git a/GhettoCrypt/GhettoCrypt.vcxproj.filters b/GhettoCrypt/GhettoCrypt.vcxproj.filters index 7a1b5f1..55434c2 100644 --- a/GhettoCrypt/GhettoCrypt.vcxproj.filters +++ b/GhettoCrypt/GhettoCrypt.vcxproj.filters @@ -18,10 +18,10 @@ Quelldateien - + Quelldateien - + Quelldateien @@ -47,14 +47,14 @@ Headerdateien - - Headerdateien - Headerdateien Headerdateien + + Headerdateien + \ No newline at end of file diff --git a/readme.md b/readme.md index 3d97790..1c494dd 100644 --- a/readme.md +++ b/readme.md @@ -12,6 +12,7 @@ This way this provides relatively good diffusion. * It's slow * It's probably super insecure * It leaves your keys sprinkled in ram +* Short 128-bit keys🤦‍♂️ * But the syntax is pythonlike easy🙇 It's pretty ghetto, you know? @@ -54,7 +55,8 @@ GhettoCryptWrapper::EncryptFile("main.cpp", "main.cpp.crypt", "password1"); GhettoCryptWrapper::DecryptFile("main.cpp.crypt", "main.cpp.clear", "password1"); ``` -If you want to do more complex stuff use the cipher-class [`GhettoCipher::Cipher`](https://github.com/Leonetienne/GhettoCrypt/blob/master/GhettoCrypt/Cipher.h) aswell as the conversion methods in [Util.h](https://github.com/Leonetienne/GhettoCrypt/blob/master/GhettoCrypt/Util.h). This way you can cipher on bitlevel. Examples on how to do this are in [GhettoCryptWrapper.cpp](https://github.com/Leonetienne/GhettoCrypt/blob/master/GhettoCrypt/GhettoCipherWrapper.cpp). +If you want to do more complex stuff, use the cipher-class [`GhettoCipher::Cipher`](https://github.com/Leonetienne/GhettoCrypt/blob/master/GhettoCrypt/Cipher.h) aswell as the conversion methods in [Util.h](https://github.com/Leonetienne/GhettoCrypt/blob/master/GhettoCrypt/Util.h). This way you can cipher on bitlevel. Examples on how to do this are in [GhettoCryptWrapper.cpp](https://github.com/Leonetienne/GhettoCrypt/blob/master/GhettoCrypt/GhettoCipherWrapper.cpp). +This way you could, for example, decrypt an ecrypted file directly into memory. Or use a full-length key instead of a password. Without saying, this is more advanced and not as-easy as the methods supplied in the wrapper. ### I am not kidding, don't use this for critical stuff! Homebrew ciphers are most often shit!