Forums > MaxMSP

Create a unique password from computer's ID

November 15, 2010 | 2:20 pm

I found a patch that generates passwords in the forum but not something that takes the computer’s ID and then generates a unique password for this computer.
Any help please?


November 15, 2010 | 4:10 pm

Can you tell us where you found the patch that generates a unique password? Post the patch from there, maybe? We might get something starting from that patch.



EMV
November 15, 2010 | 4:22 pm

I bet you can read the mac address with an mxj net object, and then do something fancy with it, like md5 hashing (for example with a javascript snippet like this one: http://aktuell.de.selfhtml.org/artikel/javascript/md5/).


November 15, 2010 | 5:18 pm

Thanks for the replies…

"Can you tell us where you found the patch that generates a unique password? Post the patch from there, maybe? We might get something starting from that patch. "

This is the link from the forum:

http://cycling74.com/forums/topic.php?id=28158

There are some patches for generate passwords.


November 15, 2010 | 8:37 pm

Possibly you could use a free executable to get it, there’s one here for PC:

http://www.soft.tahionic.com/download-hdd_id/hardware%20ID%20programmer%27s%20DLL.html#dll_source_code

Includes source code, so someone adept at making externals could utilize that. Otherwise, you could include their .exe along with your patch to have the user get the ID manually.

Certainly there’s something similar on Mac. The mxj sounds like a good solution too, though the user needs to have Java correctly installed… would be best as an external, I think.


November 16, 2010 | 9:10 pm

Unfortunately I’m not a Java programmer or other…
I saw an authorization window in MacPOD http://thirdmonk.com/MacPOD.html
made with max but I dont know how was made.
Should be useful cycling74 to have a ready made example for those who make
standalone applications and want to sell or protect their application.


April 16, 2011 | 12:15 am

I’m the author of MacPOD. I’ve posted an external object, MachineID, under the Tools section, that returns the Mac serial number. Includes source. see: http://support.apple.com/kb/HT1529

Tools: MachineID

Alternatively, just run the following command with the excellent shell object:

system_profiler SPHardwareDataType | awk ‘/Serial Number/ {print $NF}’


December 12, 2011 | 4:21 pm

Thank you very much Chris and congrats for your app!


Viewing 8 posts - 1 through 8 (of 8 total)