IPWorks Encrypt 2020 PHP Edition

Questions / Feedback?

Algorithm Property

The Salsa20 algorithm.

Object Oriented Interface

public function getAlgorithm();
public function setAlgorithm($value);

Procedural Interface

ipworksencrypt_salsa20_get($res, 1 );
ipworksencrypt_salsa20_set($res, 1, $value );

Default Value

1

Remarks

This property specifies the Salsa implementation to use. Possible values are:

  • 0 (Salsa20)
  • 1 (XSalsa20 - default)

The XSalsa20 algorithm is recommended and generally to be considered more secure. The Salsa20 algorithm is fully supported for implementations that require this. In addition the reduced 12 and 8 round variants of Salsa20 are also supported, please see SalsaRounds for details.

Data Type

Integer

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