IPWorks Encrypt 2020 Android Edition

Questions / Feedback?

Algorithm Property

The algorithm used to create the hash.

Syntax

public int getAlgorithm();
public void setAlgorithm(int algorithm);

Enumerated values: public final static int haSHA1 = 0; public final static int haSHA224 = 1; public final static int haSHA256 = 2; public final static int haSHA384 = 3; public final static int haSHA512 = 4; public final static int haMD2 = 5; public final static int haMD4 = 6; public final static int haMD5 = 7; public final static int haRIPEMD160 = 8; public final static int haMD5SHA1 = 9; public final static int haHMACMD5 = 10; public final static int haHMACSHA1 = 11; public final static int haHMACSHA224 = 12; public final static int haHMACSHA256 = 13; public final static int haHMACSHA384 = 14; public final static int haHMACSHA512 = 15; public final static int haHMACRIPEMD160 = 16; public final static int haSHA3_224 = 17; public final static int haSHA3_256 = 18; public final static int haSHA3_384 = 19; public final static int haSHA3_512 = 20; public final static int haSHA512_224 = 21; public final static int haSHA512_256 = 22;

Remarks

This property specifies the algorithm used when calling ComputeHash. Possible values are:

0 (haSHA1) SHA1
1 (haSHA224) SHA-224
2 (haSHA256 - default) SHA-256
3 (haSHA384) SHA-384
4 (haSHA512) SHA-512
5 (haMD2) MD2
6 (haMD4) MD4
7 (haMD5) MD5
8 (haRIPEMD160) RIPEMD-160
9 (haMD5SHA1) MD5SHA1
10 (haHMACMD5) HMAC-MD5
11 (haHMACSHA1) HMAC-SHA1
12 (haHMACSHA224) HMAC-SHA224
13 (haHMACSHA256) HMAC-SHA256
14 (haHMACSHA384) HMAC-SHA384
15 (haHMACSHA512) HMAC-SHA512
16 (haHMACRIPEMD160) HMAC-RIPEMD-160
17 (haSHA3_224) SHA-3-224 (originally known as Keccak)
18 (haSHA3_256) SHA-3-256 (originally known as Keccak)
19 (haSHA3_384) SHA-3-384 (originally known as Keccak)
20 (haSHA3_512) SHA-3-512 (originally known as Keccak)
21 (haSHA512_224) SHA-512/224
22 (haSHA512_256) SHA-512/256

Default Value

2

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