Hack Forums
[C] [C++] BitCrypt Text Cipherer/Decipherer [Version ALPHA 4] [ALPHA 5 IN-PROGRESS] - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C] [C++] BitCrypt Text Cipherer/Decipherer [Version ALPHA 4] [ALPHA 5 IN-PROGRESS] (/showthread.php?tid=2847230)

Pages: Pages 1 2 3 4


[C++] BitCrypt Text Cipherer/Decipherer [Version ALPHA 4] [ALPHA 5 IN-PROGRESS] - Sajuuk - Sep 8, 2012

ALPHA 4 (Rev. 1): (Click to View)

ALPHA 5 Will Include:

- RandChr() Function

Credits:

C++™ - Main Idea
Love2D - Fixed case problems. General help with C++.
void00 - General help with C++.


* - Daylloween - Sep 8, 2012

Sounds pretty nice, what storage method are you using? Resources? If yes then i might know how you do it :)


* - Sajuuk - Sep 8, 2012

Storage? What the heck is storage? Idk what that is.


* - notsteve - Sep 9, 2012

What is bitcrypt and what advantages does it offer over other options such as TrueCrypt?

e: assuming it's an encrpytion software because of your req. Idk what it is, is it a crypter?


* - Augustus - Sep 9, 2012

(Sep 8, 2012 08:32 AM)C++™ Wrote:  Storage? What the heck is storage? Idk what that is.

The person is assuming your project is a crypter.


* - Sajuuk - Sep 9, 2012

Oh no. It's not a crypter. It's a text encryption program.


* - Love2D - Sep 9, 2012

Just text encryption? Are you kidding me?


* - Sajuuk - Sep 9, 2012

Hey how about you make a text encryptor? I am trying to learn how to do the actual things to encrypt it in the first place. I have this code from a website:

Spoiler (Click to View)

It's a Vigenere cipher code. How do I reverse the process?


* - Love2D - Sep 9, 2012

You are asking for help with this on cplusplus.com? You shouldn't be releasing it if you are going to have someone give you the code.


* - Sajuuk - Sep 9, 2012

Hello! They will be credited with creating it. A full credits list will be implemented in the program. Duh.


* - Love2D - Sep 9, 2012

But if encryption and decryption is the only thing the program does then you are asking for the whole program to be done for you!


* - Sajuuk - Sep 9, 2012

Did I ask for the whole program? I want to have an example to refer back to when I'm stuck, which I am currently. All I want is to figure out how to encrypt text.


* - Love2D - Sep 9, 2012

You already copied the Vigenere Cipher from another website. Are you sure you are just using this code to refer back to when stuck?


* - Sajuuk - Sep 10, 2012

As you can see, if you look, the old Batch BitCrypt was based off of AMDjack's HXB-128 cipherer. It used IFs to read the plaintext, convert it to another specified character, then return the value and go back to the loop with GOTO. In this case now, I'll be using IF, FOR, WHILE or GOTO, etc. If only I had a caesar cipher code to refer to...


* - Sylex - Sep 10, 2012

Why go through all the work when it's already been done? Just be sure to credit the author of this neat lib.
http://embeddedsw.net/libObfuscate_Cryptography_Home.html

Just be sure to implement a correct mode of operation. Read up on them here:
http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation

I personally suggest GCM, but replace the incremental aspect of it with libOfuscate's CSPRNG, and seed it with part of the expanded password.

For a password expansion algorithm I recommend scrypt:
http://www.tarsnap.com/scrypt.html

scrypt has a variety of unique features which makes it extremely secure for a password expansion hash, such-as all the features of bcrypt but with variable memory usage, making it much harder to create a hardware implementation of the algorithm.

Also please for the love of all cryptology, don't start creating new algorithms unless you want some extremely weak software.