Class HashFunction

  • All Implemented Interfaces:
    Function<String,​String>

    public class HashFunction
    extends Object
    implements Function<String,​String>
    Function whose output value is a hash of the input value. Returns null for a null input. The hash returned is the Base64 encoded representation of the SHA-256 digest.