I look at it all day. I probably should have left him a few hours ago; At the moment, I may miss something obvious.
Short version: Is there a way to generate and weld an asymmetrically encrypted hash with a reasonable number of unique, readable characters?
Long version:
I want to create license keys for my software. I would like these keys to have a reasonable length (25-36 characters) and be easy to read and enter by a person (so avoid ambiguous characters such as the number 0 and the capital letter O).
Finally - and this seems to be a kicker - I would really like to use asymmetric encryption to make it difficult to create new keys.
I have a general approach: combine my information (username, product version, salt) into a string and generate the SHA1 () hash, and then encrypt the hash using my private key. On the client, create a SHA1 () hash from the same information, then decrypt the license using the public key and see if I have a match.
Since this is a Mac application, I looked at AquaticPrime, but it generates a relatively large license file, not a string. I can work with this if necessary, but as a user I really like the convenience of a license key, which I can read and print.
I also looked at CocoaFob, which generates a key, but it is so long that I would like to deliver it as a file anyway.
I cheated on OpenSSL for a while, but couldn't come up with anything of reasonable length.
... - ? , ?
. , - . , , .
, !
PS - , , . - , , , .