li3

NewsDocumentationVersionsPresentationsCommunityDevelopment
  • Documentation
  • Framework API (1.1.x)
  • lithium
  • storage
  • session
  • strategy
  • Encrypt
  • _vectorSize()

Contents

  • ../

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

protected static method

Returns the vector size vor a given cipher and mode.

Returns

number

The vector size.

Links

  • http://php.net/function.mcrypt-enc-get-iv-size.php

Source

	protected static function _vectorSize() {
		return mcrypt_enc_get_iv_size(static::$_resource);
	}
GitHub / Twitter / Reddit / Stack Overflow
Testimonial Image

I think it's time you started
writing better code.

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