Php/docs/function.mcrypt-enc-get-block-size

提供:Dev Guides
< Php
移動先:案内検索

mcrypt_enc_get_block_size

(PHP 4 >= 4.0.2, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0)

mcrypt_enc_get_block_sizeReturns the blocksize of the opened algorithm


警告 この関数は PHP 7.1.0 で 非推奨となり、PHP 7.2.0 で削除 されました。この関数に頼らないことを強く推奨します。


説明

mcrypt_enc_get_block_size ( resource $td ) : int

Gets the blocksize of the opened algorithm.


パラメータ

td
The encryption descriptor.


返り値

Returns the block size of the specified algorithm in bytes.