Create a unique password from computer's ID

Nov 15, 2010 at 2:20pm

Create a unique password from computer's ID

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?

#53330
Nov 15, 2010 at 4:10pm

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.

#191856
Nov 15, 2010 at 4:22pm

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/).

#191857
Nov 15, 2010 at 5:18pm

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.

#191858
Nov 15, 2010 at 8:37pm

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.

#191859
Nov 16, 2010 at 9:10pm

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.

#191860
Apr 16, 2011 at 12:15am

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}’

#191861
Dec 12, 2011 at 4:21pm

Thank you very much Chris and congrats for your app!

#191862

You must be logged in to reply to this topic.