IPWorks Encrypt 2020 iOS Edition

Questions / Feedback?

KDFHashAlgorithm (property)

The KDF hash algorithm to use when encrypting and decrypting.

Syntax

@property (nonatomic,readwrite,assign,getter=KDFHashAlgorithm,setter=setKDFHashAlgorithm:) int KDFHashAlgorithm;
- (int)KDFHashAlgorithm;
- (void)setKDFHashAlgorithm:(int)newKDFHashAlgorithm;

/* Possible Values */
IES_SHA1(0),
IES_SHA224(1),
IES_SHA256(2),
IES_SHA384(3),
IES_SHA512(4)
public var KDFHashAlgorithm: EccKDFHashAlgorithms {
  get {...}
set {...} }
public enum EccKDFHashAlgorithms : Int32 { case iesSHA1 = 0 case iesSHA224 = 1 case iesSHA256 = 2 case iesSHA384 = 3 case iesSHA512 = 4 }

Default Value

2

Remarks

This property specifies the hash algorithm to use in when deriving a key using the specified KDF. Possible values are:

  • 0 (iesSHA1)
  • 1 (iesSHA224)
  • 2 (iesSHA256)
  • 3 (iesSHA384)
  • 4 (iesSHA512)

This property is only applicable when calling Encrypt or Decrypt.

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