Jump to content



Photo
- - - - -

How To Create Passwords


  • Please log in to reply
5 replies to this topic

#1 humptydumpty

humptydumpty

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 22 September 2006 - 12:01 PM

Hi!
I'd like to know how to create passwords in order to protect the access to the various programs (mcs).
thanks in advance,
humptydumpty

#2 Lovecasio

Lovecasio

    Casio Freak

  • Members
  • PipPipPipPip
  • 242 posts
  • Location:Hochiminh city Vietnam
  • Interests:Organic chemistry.<br />Pharmacy

  • Calculators:
    fx 570 MS, Casio AFX 2.0+, ClassPad 300

Posted 23 September 2006 - 02:48 AM

Hi.
You must do it yourself in the program. For example a piece code may look like this:
InputStr pw,"Enter password to access program"
//Your pre-defined password is "ClassPad"
StrCmp pw,"ClassPad",rs
If rs=/=0
Then:Message "The program will stop now. Try enter a correct password","Error PassWord"
Return
IfEnd
.......(your main program).

Note that you should compress the program. If not, another user may access to the code and get your password. Hope this help.

#3 vanhoa

vanhoa

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 854 posts
  • Gender:Male
  • Location:Vietnam

  • Calculators:
    AFX 2.0, CP 300, CP 330, nSpire, TI 89, FX 5800

Posted 23 September 2006 - 03:00 AM

You should ask filip (visit classpad.org).

#4 Kilburn

Kilburn

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 491 posts
  • Gender:Male
  • Location:France
  • Interests:Blah

  • Calculators:
    FX-7500 G
    ClassPad 300

Posted 23 September 2006 - 06:59 AM

You can't protect the access to your source code with a password.
You can use Compress program, but you won't be able to edit it anymore.

#5 MicroPro

MicroPro

    Casio Overlord

  • Deputy
  • PipPipPipPipPipPipPip
  • 640 posts
  • Gender:Male
  • Location:Iran

  • Calculators:
    Casio ClassPad 300

Posted 24 September 2006 - 06:48 PM

Even if you compress the program, users still can see the password with any simple C++ add-in that reads CP's EXE files (because strings aren't compressed in an EXE file). A better way is to write the encrypted (coded) password in the string, and then try to decrypt it (change it to the real password). An better solution for coding the password is to save it as a number, then do some math operations on it. So that no one recognizes the real password.

#6 masoodkardorost

masoodkardorost

    Newbie

  • Members
  • Pip
  • 21 posts

  • Calculators:
    classpad300+
    casio4800

Posted 22 February 2008 - 05:34 PM

please see this topic too
for creating a lock for program
http://www.casiocalc...?showtopic=3828




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users