[Deprecated] Function mcrypt_create_iv() is deprecated

GET /kontakt/

Line 25 in /home/kroeze/domains/kroezegraszoden.nl/public_html/framework/security/RandomGenerator.php

Source

16 	 *
17 	 * @return string Returns a random series of bytes
18 	 */
19 	public function generateEntropy() {
20 		$isWin = preg_match('/WIN/', PHP_OS);
21 
22 		// TODO Fails with "Could not gather sufficient random data" on IIS, temporarily disabled on windows
23 		if(!$isWin) {
24 			if(function_exists('mcrypt_create_iv')) {
25 				$e = mcrypt_create_iv(64, MCRYPT_DEV_URANDOM);
26 				if($e !== false) return $e;
27 			}
28 		}
29 
30 		// Fall back to SSL methods - may slow down execution by a few ms
31 		if (function_exists('openssl_random_pseudo_bytes')) {

Trace

Kontakt - Kroeze Rollrasen
Rufen sie an fur eine verabredung: +31 6 - 53 12 64 11

Kontakt

Rollrasen Züchter J.Kroeze

Schipleidelaan 82
7576 PB Oldenzaal

Telefoon: 0031 -(0) 541 -514 193
Mobiel: 0031 - (0)6 - 53 12 64 11
info@kroezegraszoden.nl