IPWorks Encrypt 2020 JavaScript Edition

Questions / Feedback?

KDFHashAlgorithm Property

The KDF hash algorithm to use when encrypting and decrypting.

Syntax


 getKDFHashAlgorithm(): EccKDFHashAlgorithms;

 setKDFHashAlgorithm(KDFHashAlgorithm: EccKDFHashAlgorithms): void;

enum EccKDFHashAlgorithms { iesSHA1, iesSHA224, iesSHA256, iesSHA384, iesSHA512 }

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 JavaScript Edition - Version 20.0 [Build 8262]