The algorithm name is added to the encrypted text as a prefix. This informs Identity Manager which algorithm was used for encryption.
In FIPS mode, the prefix is {AES}. For example, if you encrypt the text "password", the encrypted text is similar to this:
{AES}:eolQCTq1CGPyg6qe++0asg==
In non-FIPS mode (or JSAFE mode), the prefix is {PBES}. For example, if you encrypt the text "password", the encrypted text is similar to this:
{PBES}:gSex2/BhDGzEKWvFmzca4w==
Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |