public class DigestCalculator extends Object
GenericSaltedPasswordEncoder that defines a way
in which digest is calculated. It is backward-compatible with digest calculation logic provided by now deprecated
MD5PasswordEncoder| Modifier and Type | Method and Description |
|---|---|
String |
calculateDigest(String plain)
Calculates digest of specified string
|
static DigestCalculator |
getInstance(String algorithm)
Creates digest calculator based on provided
MessageDigest algorithm |
static boolean |
isAlgorithmSupported(String algorithm) |
public static boolean isAlgorithmSupported(String algorithm)
public static DigestCalculator getInstance(String algorithm)
MessageDigest algorithmalgorithm - message digest algorithmCopyright © 2017 SAP SE. All Rights Reserved.