View Single Post
  #6 (permalink)  
Old January 11th, 2008, 17:23
shinsoft shinsoft is offline
Junior Member
 
Join Date: Jan 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
shinsoft is on a distinguished road
Re: Interfacing from ASP.NET

Quote:
Originally Posted by chrisplough View Post
Actually, OTM uses a one-way password hash, so there's no way to decrypt. In order to compare, you'd have to encrypt the user-supplied password and then compare the two encrypted values to each other.

Now, it has been a long time since I've worked with this code (around 4 years), but I believe that the password encryption in OTM is based on the Base64 algorithm (no pun intended). If your OTM environment and classpath are setup, you can get the Base64 encoded version of a password by using the following command:
Code:
glog.util.appclass.Base64Encoding <text password>
You'll need to test this, to ensure it hasn't changed, but this should help.

--Chris
Thanks for the suggestion. We'll give that a try. Is there a documentation that would describe
Code:
glog.util.appclass.Base64Encoding <text password>
in more detail?

Thank you.
Reply With Quote