HashAlgorithm Property

The HMAC Hash Algorithm.

Object Oriented Interface

public function getHashAlgorithm();
public function setHashAlgorithm($value);

Procedural Interface

ipworksauth_ocra_get($res, 7 );
ipworksauth_ocra_set($res, 7, $value );

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)

Data Type

Integer

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