Search Results
Return Values ¶ Returns an array with the key sizes supported by the algorithm specified by the encryption descriptor. If it returns an empty array then all key sizes between 1 and mcrypt_enc_get_key_size () are supported by the algorithm.
mcrypt_enc_get_supported_key_sizes — Returns an array with the supported keysizes of the opened algorithm mcrypt_enc_is_block_algorithm_mode — Checks whether the encryption of the opened mode works on blocks
Returns an array with the key sizes supported by the algorithm specified by the encryption descriptor. If it returns an empty array then all key sizes between 1 and mcrypt_enc_get_key_size () are supported by the algorithm.
Returns an array with the key sizes supported by the algorithm specified by the encryption descriptor. If it returns an empty array then all key sizes between 1 and mcrypt_enc_get_key_size () are supported by the algorithm.
Basic example of mcrypt_enc_get_supported_key_sizes () in PHP Suppose you want to encrypt some sensitive data using the MCrypt encryption algorithm and you need to know the supported key sizes before generating an encryption key.
mcrypt_enc_get_supported_key_sizes — Returns an array with the supported keysizes of the opened algorithm mcrypt_enc_is_block_algorithm_mode — Checks whether the encryption of the opened mode works on blocks
People also ask
What does mcrypt_ENC_get_supported_key_sizes do?
What does mcrypt_get_IV_size do?
What does mcrypt_ENC_get_algorithms_name do?
What does mcrypt_get_block_size do?
Return Values Returns an array with the key sizes supported by the algorithm specified by the encryption descriptor. If it returns an empty array then all key sizes between 1 and mcrypt_enc_get_key_size are supported by the algorithm.
