Interface Utils.Digest

All Known Implementing Classes:
Utils.Sha256Digest
Enclosing class:
Utils
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Utils.Digest
Hash a non-null value, returns a base64 encoded String of the hash.
  • Method Summary

    Modifier and Type
    Method
    Description
    compute(String value)
    Computes the hash of the given value.
  • Method Details

    • compute

      String compute(String value)
      Computes the hash of the given value.
      Parameters:
      value - The value to hash.
      Returns:
      The base64 encoded String hash of the value.