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 Discussion / Password encryption

Author
Message
Sonic 91 Software
20
Years of Service
User Offline
Joined: 19th Mar 2005
Location: In a Cryptic Crossworld!
Posted: 6th Dec 2005 11:33
I remember a program to do this in the codebase, but now I can't find it. How can I get a user-defined password to appear as ****** on the screen?

I am a Christian and I know that God loves me. That is what makes my life so great!
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 6th Dec 2005 12:02
You just change what the user sees... it's not really encryption. This puts the user input in Pass$ then makes Out$ a string of the same size as Pass$ with *'s instead. It prints both to show you it works.



Sonic 91 Software
20
Years of Service
User Offline
Joined: 19th Mar 2005
Location: In a Cryptic Crossworld!
Posted: 8th Dec 2005 11:49
It doesn't work with my version of DB, because it isn't the enhanced version of DB, it's DB v1.13. Have you written the code for DBPro? If you have, this is the wrong forum.

I am a Christian and I know that God loves me. That is what makes my life so great!
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 8th Dec 2005 14:04
I wrote it in Pro and tested it in Classic before I posted (I always test the code in Classic when i'm in the Classic forum). It worked fine for me in both Pro and Classic and I have the enhanced version of Classic. That should work in non-enhanced versions too.

I was using version 1.12 but looked for the update and downloaded it. Using the same exact version you use that code still works for me. I even tried it out in both the old editor and DarkEdit... still works.

In fact Classic works better than Pro because of the bug using the backspace key. Does the code give you an error? If it does can you post a screenshot of the error? Tis very odd.


SimSmall
20
Years of Service
User Offline
Joined: 7th Aug 2004
Location: United Kingdom
Posted: 8th Dec 2005 14:09
Quote: "because it isn't the enhanced version of DB, it's DB v1.13"


1.13 is enhanced, as is 1.12

...maybe one day I'll finish a project
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 8th Dec 2005 16:29
In that case, shouldn't Sonic 91 get the 1.13 update like everybody else?

16-colour PNGs pwn.
Sonic 91 Software
20
Years of Service
User Offline
Joined: 19th Mar 2005
Location: In a Cryptic Crossworld!
Posted: 9th Dec 2005 11:09
I have got the 1.13 update. I'll post a screenshot when possible.

I am a Christian and I know that God loves me. That is what makes my life so great!
Captain America
20
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Here
Posted: 30th Dec 2005 06:41
ya it works fine for me and i have version 1.12 (i think)!
thanks i was also trying to find out how to solve this problem.

-Captain-


Cheers,
Capt. America
new programmer
19
Years of Service
User Offline
Joined: 20th Dec 2005
Location: right behind you.
Posted: 30th Dec 2005 18:43
v1.13 is enhanced?? so like DLL support and net games and stuff?!?!!??!

Login to post a reply

Server time is: 2025-05-22 19:47:42
Your offset time is: 2025-05-22 19:47:42