IPWorks Encrypt 2020 macOS Edition

Questions / Feedback?

HashAlgorithm Property

The hash algorithm used for hash computation.

Syntax

public var hashAlgorithm: DsaHashAlgorithms {
get {...}
set {...} }

public enum DsaHashAlgorithms: Int32 { case dhaSHA1 = 0 case dhaSHA224 = 1 case dhaSHA256 = 2 case dhaSHA384 = 3 case dhaSHA512 = 4 case dhaRIPEMD160 = 5 }

Default Value

2

Remarks

This property specifies the hash algorithm used for hash computation. This is only applicable when calling Sign or VerifySignature and HashValue is computed. Possible values are:

0 (dhaSHA1) SHA-1
1 (dhaSHA224) SHA-224
2 (dhaSHA256 - default) SHA-256
3 (dhaSHA384) SHA-384
4 (dhaSHA512) SHA-512
5 (dhaRIPEMD160) RIPEMD-160

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