IPWorks Encrypt 2020 Kotlin Edition

Questions / Feedback?

EncryptionAlgorithm Property

The encryption algorithm to use.

Syntax

public var encryptionAlgorithm: EccEncryptionAlgorithms

public enum class EccEncryptionAlgorithms(val value: Int) {
iesAES(0),
iesTripleDES(1),
iesXOR(2);
}

Default Value

0

Remarks

This setting specifies the encryption algorithm to use when Encrypt is called. This must also be set before calling Decrypt to match the algorithm used during the initial encryption.

Possible values are:

  • 0 (iesAES - default)
  • 1 (iesTripleDES)
  • 2 (iesXOR)

AES Notes

When EncryptionAlgorithm is set to iesAES AES CBC with a default key size of 256 bits is used. To specify a different key size set EncryptionKeySize.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks Encrypt 2020 Kotlin Edition - Version 20.0 [Build 7941]