Class HFunctionFactory.Default

  • Enclosing interface:
    HFunctionFactory

    public static final class HFunctionFactory.Default
    extends Object
    Default implementation
    • Method Detail

      • sha256

        public static HFunctionFactory sha256()
        Creates a factory creating SHA-256
        Returns:
        factory
      • sha512

        public static HFunctionFactory sha512()
        Creates a factory creating SHA-512. Be aware that it is not guaranteed that this algorithm is implemented in all JVMs.
        Returns:
        factory
      • hmacSha256

        public static HFunctionFactory hmacSha256()
        Creates a factory creating HMAC with SHA-256
        Returns:
        factory
      • hmacSha512

        public static HFunctionFactory hmacSha512()
        Creates a factory creating HMAC with SHA-512
        Returns:
        factory