IPWorks Encrypt 2020 PHP Edition

Questions / Feedback?

Algorithm Property

The random number algorithm.

Object Oriented Interface

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

Procedural Interface

ipworksencrypt_ezrand_get($res, 1 );
ipworksencrypt_ezrand_set($res, 1, $value );

Default Value

0

Remarks

This property specifies the algorithm used to generate the random number or bytes. Possible values are:

0 (raISAAC) ISAAC (indirection, shift, accumulate, add, and count)
1 (raMSCryptoAPI) The Microsoft Crypto API. This is only available on Windows.
2 (raPlatform) The platform's random implementation.
3 (raSecurePlatform) The platform's secure random implementation. This is only applicable in .NET and Java. In .NET the class uses the "RNGCryptoServiceProvider" class. In Java the class uses the "SecureRandom" class.
4 (raRC4Random) RC4 based random implementation.

Data Type

Integer

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