VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Good Encyption Recoder

cyb3r_riot  (2 Submissions)   Files/File Controls/Input/Output   Intermediate   Wed 3rd February 2021

This module will quickly encrypt any text that you give it, using the user supplied keycode. Rather than a simple xor cipher, this code will alter the code in the following ways:
1. Generate a string of random numbers and put them at the beggining of the string. This prevents a possible cracker from figuring out the beginning of the actual message.
2. Transform the key by adding itself in different ways to itself, preventing a simple frequency analysis, particularly in short messages.
3. Screw around with the current character, then change it again depending on whether it's even or odd, then xor it one more time for good measure.
4. Xor the current letter with the next letter. This makes the whole message dependent on the ecryption/decryption of each previous letter.
5. Swap the whole string around in letter-groups the integer-half size of the key (i.e.:int(keylength/2)). This makes it so that a partially decrypted string makes absolutely no sense, and helps to shuffle around words that could be analyzed and solved (like 'the', 'it', '-ing', 'of', etc).
If you like the code, voting is good, but I prefer comments and ideas. Post them here or email/YIM [email protected]. Thanks!
[UPDATE} - Fixed the screenshot to show decryption!

Inputs
Plain text and keycode, or encrypted text and keycode.

Returns
Encrypted or decrypted text.

Rate Good Encyption Recoder (2(2 Vote))
Good Encyption Recoder.bas

Good Encyption Recoder Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters