org.keycloak.jose.jws.crypto

## Class HashUtils

- java.lang.Object
- - org.keycloak.jose.jws.crypto.HashUtils

-     public class HashUtils
      extends Object

  Author:
    Marek Posolda

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HashUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `encodeHashToOIDC(byte[] hash)`
    `static byte[]` | `hash(String javaAlgorithmName, byte[] inputBytes)`
    `static String` | `oidcHash(String jwtAlgorithmName, String input)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### HashUtils

          public HashUtils()

  - ### Method Detail

    - #### oidcHash

          public static String oidcHash(String jwtAlgorithmName,
                                        String input)

    - #### hash

          public static byte[] hash(String javaAlgorithmName,
                                    byte[] inputBytes)

    - #### encodeHashToOIDC

          public static String encodeHashToOIDC(byte[] hash)

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