• Computes the hash for the given buffer and returns it as hex string. If the browser does not support the given algorithm the jsSHA library will be used as a fallback. In this case utils.wcfLibsPath has to be defined. Note: If chrome is used with a non-secure connection jsSHA will be always used.

    Parameters

    • pBuffer: ArrayBuffer | Uint8Array
    • pAlgorithm: "SHA-256" | "SHA-384" | "SHA-512"

    Returns Promise<string>

Generated using TypeDoc