InNoCenT_Ch1ld
asked on
org.apache.catalina.realm.RealmBase.Digest question
Digest
public static final java.lang.String Digest(java.lang.String credentials,
java.lang.String algorithm,
java.lang.String encoding)
Digest password using the algorithm especificied and convert the result to a corresponding hex string. If exception, the plain credentials string is returned
Parameters:
credentials - Password or other credentials to use in authenticating this username
algorithm - Algorithm used to do the digest
encoding - Character encoding of the string to digest
/------------------------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- --/
can anyone provide me with a sample code of how to use this method? tks
public static final java.lang.String Digest(java.lang.String credentials,
java.lang.String algorithm,
java.lang.String encoding)
Digest password using the algorithm especificied and convert the result to a corresponding hex string. If exception, the plain credentials string is returned
Parameters:
credentials - Password or other credentials to use in authenticating this username
algorithm - Algorithm used to do the digest
encoding - Character encoding of the string to digest
/-------------------------
can anyone provide me with a sample code of how to use this method? tks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
tks anyway ;-)
have a nice day