li3

NewsDocumentationVersionsPresentationsCommunityDevelopment
  • Documentation
  • Framework API (1.2.x)
  • lithium
  • storage
  • session
  • strategy
  • Encrypt
  • _bcVector()

Contents

  • ../

lithium\storage\session\strategy\Encrypt::_bcVector()

protected method
This method is deprecated.

Generates an initialization vector.

Returns

string

Returns an initialization vector.

Links

  • http://php.net/function.mcrypt-create-iv.php

Source

	protected function _bcVector() {
		return mcrypt_create_iv($this->_bcVectorSize(), MCRYPT_DEV_URANDOM);
	}
GitHub / Twitter / Reddit / Stack Overflow
Testimonial Image

– no comment –

Pretty much everything is (c) 2009-2025 and beyond, the Union of RAD.