Author Topic: How to obtain the id of a calculator for program security?  (Read 732 times)

0 Members and 1 Guest are viewing this topic.

Offline jknear

  • LV0 Newcomer (Next: 5)
  • Posts: 4
  • Rating: +0/-0
    • View Profile
How to obtain the id of a calculator for program security?
« on: September 20, 2019, 02:09:29 am »
 :(How to access the unique id of a ti-84 from within ti-basic for use in program security

Offline E37

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 269
  • Rating: +17/-0
  • Trial and error is the best teacher
    • View Profile
Re: How to obtain the id of a calculator for program security?
« Reply #1 on: September 20, 2019, 08:28:17 am »
You can't. Also why are you using ti-basic for a security program? It can be defeated by just pressing the on key.
I'm still around... kind of.

Offline jknear

  • LV0 Newcomer (Next: 5)
  • Posts: 4
  • Rating: +0/-0
    • View Profile
Re: How to obtain the id of a calculator for program security?
« Reply #2 on: September 21, 2019, 09:06:02 pm »
You can't. Also why are you using ti-basic for a security program? It can be defeated by just pressing the on key.
Tibasic can be converted into app by a program, and then the encrypted authorization code can be added to the head of the program to achieve the effect of encryption. App can not be compiled. Look at the program I passed in. This program is used to get the machine ID, but there is only a slight error when it runs

Offline E37

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 269
  • Rating: +17/-0
  • Trial and error is the best teacher
    • View Profile
Re: How to obtain the id of a calculator for program security?
« Reply #3 on: September 21, 2019, 09:31:13 pm »
You can't. Also why are you using ti-basic for a security program? It can be defeated by just pressing the on key.
Tibasic can be converted into app by a program, and then the encrypted authorization code can be added to the head of the program to achieve the effect of encryption. App can not be compiled. Look at the program I passed in. This program is used to get the machine ID, but there is only a slight error when it runs
What exactly are you trying to do? Are you trying to make it so that your program only runs on certain calculators? Ive read your posts 5+ times and Im still not sure what your goal is. If you are talking about your code in https://www.omnimaga.org/ti-calculator-programming-and-support/help~an-program-for-ti84ti83-to-get-it's-id-to-str0-(but-not-work)/?topscreen then you have other problems. So much of that code does nothing at all. I get that not everyone is an experienced programmer but that is either laughably bad or so deep that I can't possibly understand it.
I'm still around... kind of.

Offline jknear

  • LV0 Newcomer (Next: 5)
  • Posts: 4
  • Rating: +0/-0
    • View Profile
Re: How to obtain the id of a calculator for program security?
« Reply #4 on: September 22, 2019, 01:36:19 am »
You can't. Also why are you using ti-basic for a security program? It can be defeated by just pressing the on key.
Tibasic can be converted into app by a program, and then the encrypted authorization code can be added to the head of the program to achieve the effect of encryption. App can not be compiled. Look at the program I passed in. This program is used to get the machine ID, but there is only a slight error when it runs
What exactly are you trying to do? Are you trying to make it so that your program only runs on certain calculators? Ive read your posts 5+ times and Im still not sure what your goal is. If you are talking about your code in https://www.omnimaga.org/ti-calculator-programming-and-support/help~an-program-for-ti84ti83-to-get-it's-id-to-str0-(but-not-work)/?topscreen then you have other problems. So much of that code does nothing at all. I get that not everyone is an experienced programmer but that is either laughably bad or so deep that I can't possibly understand it.

 :(I have written some face-to-face calculation programs for construction projects. I want to publish them to others for use. Symbolically, I charge some fees for updating the program later. So I want to add authorization to my program. So I think of the way to obtain machine ID, and then authorize the program through a specific algorithm.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4595
  • Rating: +716/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: How to obtain the id of a calculator for program security?
« Reply #5 on: September 22, 2019, 09:16:54 am »
I don't believe that there is an easy way. You would need an assembly program, but it would need to enable flash protection (non-trivial) in order to read those bytes. Once that is done, though, it is pretty easy to get in assembly code, see WikiTI.