Link to home
Start Free TrialLog in
Avatar of InNoCenT_Ch1ld
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
ASKER CERTIFIED SOLUTION
Avatar of Arty K
Arty K
Flag of Kazakhstan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of InNoCenT_Ch1ld
InNoCenT_Ch1ld

ASKER

aha, actually i found this out a couple minute ago...

tks anyway ;-)
have a nice day