IPWorks Encrypt 2020 JavaScript Edition

Questions / Feedback?

Algorithm Property

The TEA algorithm.

Syntax


 getAlgorithm(): TeaAlgorithms;

 setAlgorithm(algorithm: TeaAlgorithms): void;

enum TeaAlgorithms { taXXTEA, taXTEA, taTEA }

Default Value

0

Remarks

This property specifies the TEA algorithm to use. It is recommended to use the XXTEA (Corrected Block TEA) algorithm for security reasons. Possible values are:

0 (taXXTEA - default) Correct Block TEA
1 (taXTEA) eXtended TEA
2 (taTEA) TEA (Tiny Encryption Algorithm)

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