IPWorks Encrypt 2020 Android Edition

Questions / Feedback?

HMACAlgorithm Property

The HMAC algorithm to use during encryption.

Syntax

public int getHMACAlgorithm();
public void setHMACAlgorithm(int HMACAlgorithm);

Enumerated values: public final static int iesHMACSHA1 = 0; public final static int iesHMACSHA224 = 1; public final static int iesHMACSHA256 = 2; public final static int iesHMACSHA384 = 3; public final static int iesHMACSHA512 = 4; public final static int iesHMACRIPEMD160 = 5;

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.

Default Value

2

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