summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/cms/authentication/HashAuthentication.java
diff options
context:
space:
mode:
Diffstat (limited to 'pki/base/common/src/com/netscape/cms/authentication/HashAuthentication.java')
-rw-r--r--pki/base/common/src/com/netscape/cms/authentication/HashAuthentication.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/pki/base/common/src/com/netscape/cms/authentication/HashAuthentication.java b/pki/base/common/src/com/netscape/cms/authentication/HashAuthentication.java
index 57b86157e..2537efa10 100644
--- a/pki/base/common/src/com/netscape/cms/authentication/HashAuthentication.java
+++ b/pki/base/common/src/com/netscape/cms/authentication/HashAuthentication.java
@@ -200,7 +200,7 @@ public class HashAuthentication implements IAuthManager, IExtendedPluginInfo {
public String hashFingerprint(String host, String pageID, String uid) {
byte[] hash =
mSHADigest.digest((SALT + pageID + getSecret(host) + uid).getBytes());
- String b64E = com.netscape.osutil.OSUtil.BtoA(hash);
+ String b64E = Utils.base64encode(hash);
return "{SHA}" + b64E;
}