Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Password/info encryption Help

Author
Message
Maverick
16
Years of Service
User Offline
Joined: 9th Oct 2002
Location:
Posted: 10th Oct 2002 03:44
Is there way to turn a entered login name/password variable into numbers or otherwise encrypt large chunks of information? (it will also need to be decrypted)
With dark basic.

Thanks
Maverick
DrakeX
16
Years of Service
User Offline
Joined: 26th Aug 2002
Location:
Posted: 10th Oct 2002 04:07
a little demo i made..



it's not too hard to understand, and to reverse it, change the lines:

a=a-asc(mid$(magicword$,wordpointer))
if a<0 then a=a+256

to

a=a+asc(mid$(magicword$,wordpointer))
if a>255 then a=a-256

it's not the fastest routine but it can encrypt a 3MB file in, oh, 20 seconds or so.

i'm looking at yooooou!
Maverick
16
Years of Service
User Offline
Joined: 9th Oct 2002
Location:
Posted: 10th Oct 2002 05:48
Thanks alot I can't Belive I didnt think of it

Login to post a reply

Server time is: 2019-05-23 09:47:19
Your offset time is: 2019-05-23 09:47:19