Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using amRevCryptPassword() in AC4.2

Status
Not open for further replies.

traceyr

Technical User
Aug 16, 2002
41
0
0
DE
Has anyone managed to use amRevCryptPassword as described in the ProgRef and Knowledge Base entries? Our attempts so far have not been successful.

The Knowledge Base states that the way to compare a user-defined password (i.e. not the user's login password) with an existing (encrypted) one is to give the string to be compared with the password as a parameter to amRevCryptPassword and then compare the encrypted result strings. If they are identical, then the passwords are the same.
In our attempts, calling amRevCryptPassword several times with the same parameters produced a different encrypted string each time (as one would expect from amCryptPassword but not amRevCryptPassword).

Have we misunderstood something, or is this a problem with amRevCryptPassword? Has anyone used this successfully?
Thanks in advance for your help.
 
Traceyr

According to the 4.3 documentation:-

AmRevCryptPassword()
This function encrypts a reversible password. The function that allows decryption of a password encrypted with this function is not available.

Sorry this doesn't seem to help, but sure explains why its happening.

Yours
Jasonic :p

Jason Thomas
AssetCenter Consultant
Jason Thomas Consultancy Limited
:)
 
There is no api to reverse any crypted data.
The api amRevCryptPassord allows you to set the mailing password field but that's all.
Only AC client is able to uncrypt it.

The crypting algorithm generates different cryptics even on the same password each time you call the api to make the password less hackable.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top