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.

Code Snippets / Here Is a Password thing I made.... Please comment on me. I am a Newb

Author
Message
The Lone Programmer
21
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 24th Sep 2003 06:56
Well I am somewhat a newb...
Been experimenting on stuff and I decided to try out a password thing. Well here it is.



You do not need to have any extra files. Just copy and paste what I have here and it will work, or at least should. The password to the one is
please
The buttons do work.

Please comment on what I did. I would like to know if im getting learning progress.

Thanks
Nicolas

Future Company Name = Blazing Fire
Current Website Name = Blazing Fire
Future Number is Eleventy
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 24th Sep 2003 11:15
pretty good, try and make it so that instead of printing what you write it prints out starts(*) instead.


The Lone Programmer
21
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 24th Sep 2003 17:21
I would do that except at the moment I have no clue how. I got to figure it out.

Probably easy though.

Nicolas

Future Company Name = Blazing Fire
Current Website Name = Blazing Fire
Future Number is Eleventy
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 27th Sep 2003 11:23
Heres an encoder you could use with it... (This is not mine, i do not hold responsibility for the effects it may cause)



If Quizz's Are Quizzical, Then What Are Test's?
The Lone Programmer
21
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 27th Sep 2003 20:17
Where would I paste that code into my code to get the results?

Thanks
Nicolas

Future Company Name = Blazing Fire
Current Website Name = Blazing Fire
Future Number is Eleventy
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 29th Sep 2003 17:50
well, you would make it so the program askes you to set a password first and encode that and save it into an exteranl file...

Then when you ask the user for the password, you can decrypt the saved one and then check that against the input text...

Hope I Helped...

If Quizz's Are Quizzical, Then What Are Test's?
The Lone Programmer
21
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 1st Oct 2003 02:43
what kind of code does that? If you know how can you give me some code for it. I would like to know but I dont got that kind of experience.

Thanks
Nicolas

Future Company Name = Blazing Fire
Current Website Name = Blazing Fire
Future Number is Eleventy
DB03
21
Years of Service
User Offline
Joined: 4th Aug 2003
Location:
Posted: 3rd Oct 2003 01:18
Great looking program! Really neat!
Josh
21
Years of Service
User Offline
Joined: 7th Dec 2002
Location: Pompey, Great Britain =D
Posted: 6th Oct 2003 23:46
Hi,

This code will encrypt / decrypt a password for you...

encryption("PASSWORD","KEY")

PASSWORD = This is the password you want to encrypt
KEY = This is the key used to encrypt the password. A different key will encrypt the password in a different way.

Hope this helps you!

Josh
21
Years of Service
User Offline
Joined: 7th Dec 2002
Location: Pompey, Great Britain =D
Posted: 7th Oct 2003 00:16
Forgot to say that the KEY string has to be the same one when you encrypt and decrypt. If you are encrypting a different string then you can use a different KEY.

IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 7th Oct 2003 15:16
You might want to change your code slightly ... it would be possible for a value of 256 to be calculated which would convert to the ascii value of zero.

DBPro uses this value to indicate where the string ends, so it is not valid for you to use it in your strings.

Josh
21
Years of Service
User Offline
Joined: 7th Dec 2002
Location: Pompey, Great Britain =D
Posted: 7th Oct 2003 21:38
Saikoro
21
Years of Service
User Offline
Joined: 6th Oct 2003
Location: California
Posted: 9th Oct 2003 08:37
Actually, if this is a password thingy where you get things in games, such as 1000 free GP or something, you do not need to worry about the asteriks as it does not need to be concealed from prying eyes. Also do not forget to put dims and if...thens to shorten the snippet when you are done... it'll make it easier for me to work with.
-Mathew Larribas

*Currently working on : Untitled RPG
*Working with : Smokiemcpot
*Percent done: .5%
The Lone Programmer
21
Years of Service
User Offline
Joined: 29th Jan 2003
Location: California, USA
Posted: 10th Oct 2003 01:58
IanM,
The code you gave me I think only works in DBP. I currently have DBC at the moment. If it is for DBC then please explain.

Josh,
Thanks for you help on encrypting it. Havent had a chance to try it yet (been working on other things), but it looks good. Thanks.

Vash the Stampede 815 (a.k.a Homie G),
Not sure if you know what your talking about. I will see you tommorrow so if you read this than tell me at school.

Thanks Guys
Nicolas

*Current Project: Untitled RPG
*Working With: Vash the Stampede 815
*Future Number: Eleventy

Login to post a reply

Server time is: 2024-11-23 23:39:06
Your offset time is: 2024-11-23 23:39:06