IPWorks Auth 2020 JavaScript Edition

Questions / Feedback?

HashAlgorithm Property

The HMAC Hash Algorithm.

Syntax


 getHashAlgorithm(): OcraHashAlgorithms;

 setHashAlgorithm(hashAlgorithm: OcraHashAlgorithms): void;

enum OcraHashAlgorithms { haSHA1, haSHA256, haSHA512 }

Default Value

0

Remarks

This property specifies the hash algorithm used by the class. Possible values are:

  • 0 (SHA-1 - default)
  • 1 (SHA-256)
  • 2 (SHA-512)

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Auth 2020 JavaScript Edition - Version 20.0 [Build 8262]