11 posts
Posted 18 April 2013 - 11:45 AM
Base Three Encryption/ Decryption Program
Features:- Converts Plain text into base three binary-like numbers
- It then changes those numbers into an encrypted message the same length as the original message(includes spaces)
Planned Features:
Spoiler
- encryption key for actual security against someone who doesn't have the program
- Save output to a user-defined file
- Change menus to look different between encrypter and decrypter
Bugs:
Spoiler
doesn't encrypt messages with only one word properlyScreenies:
Spoiler
Encryption program
Decryption Programdownloads:
Spoiler
Encrypter: pastebin.com/0EGvShUc
Decrypter: pastebin.com/qSfaSnhq
1619 posts
Posted 19 April 2013 - 04:03 AM
It would be nice if it kept capitalization, but overall not bad!
645 posts
Location
'Merica
Posted 22 April 2013 - 04:52 PM
Hmm.. seems cool.
19 posts
Posted 04 May 2013 - 04:37 PM
Very Cool man look forward to using it
467 posts
Location
Van Diemen's Land
Posted 27 June 2013 - 06:02 PM
Hey. This is a really good program but I found a bug.
1. When decrypting 'hello' all it does is encrypt it again. But, if you decrypt 'hello' and then encrypt the string that it gave you, you will get 'hello' again.
Basically, what I am saying is that the decryption program is just another encryption program that works the opposite way as the encryption program. Doing it this way makes some words, like 'hello' not work properly. When you decrypt the encryption of 'hello' (bojn) it comes up with another word.
I think you should take another look at this…
But I think it's an awesome program apart from this bug.
EDIT: I just saw in your bug section that it says about the same thing…
587 posts
Location
Wrocław, Poland
Posted 28 June 2013 - 07:21 AM
Instead of (line 44 - 48)
for i=1, #message do
letter = string.sub(message,i,i)
letter = string.lower(letter)
table.insert(word,characters[letter])
end
it can be
for i=1, #message do
table.insert(word,characters[message:sub(i,i):lower()])
end
Nice crypt thingy :P/>Your code is a mess, use local variables! I can't say if changing it won't break anything…