mcrypt_enc_get_algorithms_name(3) php man page | unix.com

Man Page: mcrypt_enc_get_algorithms_name

Operating Environment: php

Section: 3

MCRYPT_ENC_GET_ALGORITHMS_NAME(3)					 1					 MCRYPT_ENC_GET_ALGORITHMS_NAME(3)

mcrypt_enc_get_algorithms_name - Returns the name of the opened algorithm

SYNOPSIS
string mcrypt_enc_get_algorithms_name (resource $td)
DESCRIPTION
This function returns the name of the algorithm.
PARAMETERS
o $td - The encryption descriptor.
RETURN VALUES
Returns the name of the opened algorithm as a string.
EXAMPLES
Example #1 mcrypt_enc_get_algorithms_name(3) example <?php $td = mcrypt_module_open(MCRYPT_CAST_256, '', MCRYPT_MODE_CFB, ''); echo mcrypt_enc_get_algorithms_name($td). " "; $td = mcrypt_module_open('cast-256', '', MCRYPT_MODE_CFB, ''); echo mcrypt_enc_get_algorithms_name($td). " "; ?> The above example will output: CAST-256 CAST-256 PHP Documentation Group MCRYPT_ENC_GET_ALGORITHMS_NAME(3)
Related Man Pages
mcrypt_create_iv(3) - php
mcrypt_enc_get_supported_key_sizes(3) - php
password_verify(3) - php
mcrypt_get_iv_size(3) - php
mcrypt_module_open(3) - php
Similar Topics in the Unix Linux Community
Rules for Homework &amp; Coursework Questions Forum
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
Please Welcome Nicki Paul to the Moderator Team!