Omnimaga

Calculator Community => TI Calculators => TI-BASIC => Topic started by: jknear on September 20, 2019, 02:09:29 am

Title: How to obtain the id of a calculator for program security?
Post by: jknear 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
Title: Re: How to obtain the id of a calculator for program security?
Post by: E37 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.
Title: Re: How to obtain the id of a calculator for program security?
Post by: jknear 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
Title: Re: How to obtain the id of a calculator for program security?
Post by: E37 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.
Title: Re: How to obtain the id of a calculator for program security?
Post by: jknear 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.
Title: Re: How to obtain the id of a calculator for program security?
Post by: Xeda112358 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 (http://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:8027).