IPWorks Encrypt 2020 JavaScript Edition

Questions / Feedback?

Algorithm Property

The symmetric algorithm.

Syntax


 getAlgorithm(): EzcryptAlgorithms;

 setAlgorithm(algorithm: EzcryptAlgorithms): void;

enum EzcryptAlgorithms { ezAES, ezBlowfish, ezCAST, ezDES, ezIDEA, ezRC2, ezRC4, ezTEA, ezTripleDES, ezTwofish, ezRijndael, ezChaCha, ezXSalsa20 }

Default Value

0

Remarks

This property specifies the symmetric algorithm to use. Possible values are:

  • 0 (AES - default)
  • 1 (Blowfish)
  • 2 (CAST)
  • 3 (DES)
  • 4 (IDEA)
  • 5 (RC2)
  • 6 (RC4)
  • 7 (TEA)
  • 8 (TripleDES)
  • 9 (Twofish)
  • 10 (Rijndael)
  • 11 (ChaCha)
  • 12 (XSalsa20)

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