public static boolean isHashed ( String encoded_string ) { String algorithm = getCryptoAlgorithm ( encoded_string ) ; return isValidAlgorithm ( algorithm , PasswordCipherUtil . getSupportedHashAlgorithms ( ) ) ; }
Determine if the provided string is hashed by examining the algorithm tag . Note that this method is only avaiable for the Liberty profile .