Hi my name is Jesse Grosjean and I'm porting my Hog Bay Software (Mac
OS X shareware) website to app engine.
One thing that I need my website to do is generate license keys when
users make an order. To create a license key I encrypt the users name
like this (ruby code here)
licenseInfo = "#{options[:user_full_name]}.WriteRoom"
privateKey =
OpenSSL::PKey::RSA.new(File.read("WriteRoom.private.pem"))
licenseInfoDigestData = Digest::SHA1.digest(licenseInfo)
licenseKey =
Base64.encode64(privateKey.private_encrypt(licenseInfoDigestData,
OpenSSL::PKey::RSA::PKCS1_PADDING))
I'd like to port that code to app engine, but I'm getting stuck
because the normal OpenSSL api's that I'm used to are not available on
app engine (at least I think not, correct me if I'm wrong), and I
don't really understand RSA that well... I just use the API's.
Is there someone that could help? I'd be happy to throw in some free
license keys to my apps, or pay something, for a solution.
Thanks,
Jesse
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---