org.keycloak.crypto

## Interface HashProvider

- All Superinterfaces:
    Provider
  All Known Implementing Classes:
    JavaAlgorithmHashProvider

      public interface HashProvider
      extends Provider

  Author:
    Marek Posolda

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default void` | `close()`
    `byte[]` | `hash(byte[] input)`
    `default byte[]` | `hash(String input)`

- - ### Method Detail

    - #### hash

          default byte[] hash(String input)
                       throws HashException

      Throws:
        `HashException`

    - #### hash

          byte[] hash(byte[] input)
               throws HashException

      Throws:
        `HashException`

    - #### close

          default void close()

      Specified by:
        `close` in interface `Provider`

Copyright © 2020 JBoss by Red Hat. All rights reserved.