pabloaiz![]() Member Posts: 48 From: Tulsa, CA, US Registered: 12-06-2003 |
Hey guys. Im building a file transfer program kind of like an FTP but much more automated. Runs at start up and takes care of connecting to the server and everything. Matter of fact, its not designed to even be seen by the viewer, it just does its own thing making it seamless. (Though it does allow user to change settings) ANYWAY, point is, I've created a little password encryption algorithm for it to use for security. I thought it was kinda cool and I have it in source, so if any of you are interested in including it in your B3D projects, let me know. Yeup, all of this is in B3D. I do plan to convert to C++ when I get good enough, ( So... I thought I'd show a little demo and you guys can tell me what you think: [EDIT: Updated link:] Run it, itll ask for a passoword, type one in, and itll show in notepad the "password" file. Run the program again and you can decrypt the password. Let me know what you all think. [This message has been edited by pabloaiz (edited April 06, 2006).] |
firemaker103![]() Member Posts: 643 From: Registered: 07-13-2005 |
Hmmm, seems like your using random values based on the milliseconds since the computer started, eh? Then something with ASCII values? Er, your getting the ASCII values of each letter and multiplying each by a random value each time(Not sure about random number for each or just one random number for all of them)(Seeded by the milliseconds since the computer started, as in "SeedRnd(MilliSecs())") then turing those back into characters. The number is probably the first number at the beginning of the string, most likely single digit. Or something to that degree, right? ------------------ [This message has been edited by firemaker103 (edited April 06, 2006).] |
pabloaiz![]() Member Posts: 48 From: Tulsa, CA, US Registered: 12-06-2003 |
Close! How did you know? You must of tried it before? lol.. (unless you could of decompiled it or something? LOL) It was meant to be a simple encryption but I never thought one would get that close that fast. It actually has some added measures besides that making it not so easy, but still. If anyone can crack it let me know, lol. EDIT: I did change one thing that your post just gave me the idea to add, but its still basically the same. [This message has been edited by pabloaiz (edited April 06, 2006).] |
buddboy![]() Member Posts: 2220 From: New Albany, Indiana, U.S. Registered: 10-08-2004 |
lol... FM has created his own encryption method too... so that's probably why... he just totally confused me lol... will this work on Linux? ------------------ |
pabloaiz![]() Member Posts: 48 From: Tulsa, CA, US Registered: 12-06-2003 |
No.. it wont, (unfortunately). Unless you have like a windows emulator. Once I port it to C++ then it will. (If its even worth porting). Ohh.. FM's created encryption algorithms in the past...? Maybe we both did almoust the same thing? Great minds think alike? lol I wrote this encryption about a year ago, but now with my program needing encryption, I took pretty much the same algorythm I used last year and "buffed" it up more. [This message has been edited by pabloaiz (edited April 06, 2006).] |