IPWorks Encrypt 2020 Python Edition

Questions / Feedback?

hmac_algorithm Property

The HMAC algorithm to use during encryption.

Syntax

def get_hmac_algorithm() -> int: ...
def set_hmac_algorithm(value: int) -> None: ...

hmac_algorithm = property(get_hmac_algorithm, set_hmac_algorithm)

Default Value

2

Remarks

This property specifies the HMAC algorithm to use when encrypting. The HMAC algorithm is used when encrypt and decrypt are called to protect and verify data. Possible values are:

  • 0 (iesHMACSHA1)
  • 1 (iesHMACSHA224)
  • 2 (iesHMACSHA256 - Default)
  • 3 (iesHMACSHA384)
  • 4 (iesHMACSHA512)
  • 5 (iesHMACRIPEMD160)

This property is only applicable when calling encrypt or decrypt.

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