Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

using amRevCryptPassword() in AC4.2

using amRevCryptPassword() in AC4.2

using amRevCryptPassword() in AC4.2

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.

RE: using amRevCryptPassword() in AC4.2


According to the 4.3 documentation:-

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.


Jason Thomas
AssetCenter Consultant
Jason Thomas Consultancy Limited

RE: using amRevCryptPassword() in AC4.2

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close