« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 55 for cipher (0.003 sec.)
mcrypt_get_cipher_name — 指定した暗号の名前を得る | PHP 8.3 12078
mcrypt_get_cipher_name (PHP 4, PHP 5, PHP 7 < 7.2.0, PECL mcrypt >= 1.0.0) mcrypt_get_cipher_name — 指定した暗号の名前を得る 警告 この関数は PHP 7.1.0 で 非推奨 となり、PHP 7.2.0 で 削除 されました。この関数に頼らないことを強く推奨します。 ... 説明 function mcrypt_get_cipher_name ( int $cipher ): string function mcrypt_get_cipher_name ( string $cipher ): string mcrypt_get_cipher_name() は、指定し ... た暗号(cipher) の名前を得るために使用されます。 mcrypt_get_cipher_name() は、暗号の番号 (libmcrypt 2.2.x)または暗号名(libmcrypt 2.4.x 以 ... 降)を引数とし、 暗号名を返します。指定した暗号が存在しない場合は false を返します。 パラメータ cipher MCRYPT_暗号名 定数のいずれか、 あるいはアルゴリズム名をあらわす文字列。 戻り値 暗号の名前、あるいは暗号が存在しない場合に ...
https://man.mtool.work/php/8.3/function.mcrypt-get-cipher-name.html
暗号化方式 | PHP 8.3 11575
暗号化方式 OPENSSL_DEFAULT_STREAM_CIPHERS ( string ) デフォルトの暗号リスト OPENSSL_CIPHER_RC2_40 ( int ) OPENSSL_CIPHER_RC2_128 ( int ) OPENSSL_CIPHER_RC2_64 ( int ) OPENSSL_CIPHER_DES ( int ) OPENSSL_CIPHER_3DES ( int ) OPENSSL_CIPHER_AES ... _128_CBC ( int ) OPENSSL_CIPHER_AES_192_CBC ( int ) OPENSSL_CIPHER_AES_256_CBC ( int ) 他のマニュアルの関連ページ Python zipfile Linux JM crypt(3) Linux J ...
https://man.mtool.work/php/8.3/openssl.ciphers.html
openssl_encrypt — データを暗号化する | PHP 8.3 11353
openssl_encrypt (PHP 5 >= 5.3.0, PHP 7, PHP 8) openssl_encrypt — データを暗号化する 説明 function openssl_encrypt ( #[ \SensitiveParameter ] string $data , string $cipher_algo , #[ \SensitiveParameter ] string $passphrase , int $options = 0 ... 暗号化して、 未加工の、または base64 エンコードされた文字列を返します。 パラメータ data 暗号化するプレーンテキストメッセージ cipher_algo 暗号メソッド。 使用可能なメソッドの一覧を取得するには、 openssl_get_cipher_methods() を用います。 passphrase パスフレ ... ドでは、この値は 4 から 16 の間です。 戻り値 成功した場合暗号化された文字列、失敗した場合に false を返します。 エラー / 例外 cipher_algo パラメータを通じて未知の暗号アルゴリズムが渡された場合、 E_WARNING レベルのエラーを発生します。 iv パラメータを通じて ... usly generated in a cryptographically safe way, like openssl_random_pseudo_bytes $plaintext = "message to be encrypted" ; $cipher = "aes-128-gcm" ; if ( in_array ( $cipher , openssl_get_cipher_methods ())) { $ivlen = openssl_cipher_iv_length ( $cipher ...
https://man.mtool.work/php/8.3/function.openssl-encrypt.html
openssl_cipher_key_length — 暗号鍵の長さを取得する | PHP 8.3 10496
openssl_cipher_key_length (PHP 8 >= 8.2.0) openssl_cipher_key_length — 暗号鍵の長さを取得する 説明 function openssl_cipher_key_length ( string $cipher_algo ): int | false 暗号鍵の長さを取得します。 パラメータ cipher_algo 暗号化方式。指定でき ... る値は openssl_get_cipher_methods() を参照ください。 戻り値 成功した場合は暗号の長さを返します。 失敗した場合に false を返します. エラー / 例外 暗号 ... アルゴリズムが未知の場合、 E_WARNING レベルのエラーが発生します。 例 例1 openssl_cipher_key_length() の例 <?php $method = 'AES-128-CBC' ; var_dump ( openssl_cipher_key_length ( $method )); ?> 上の例の出力は、 た ...
https://man.mtool.work/php/8.3/function.openssl-cipher-key-length.html
openssl_cipher_iv_length — 初期化ベクトル iv の長さを取得する | PHP 8.3 10407
openssl_cipher_iv_length (PHP 5 >= 5.3.3, PHP 7, PHP 8) openssl_cipher_iv_length — 初期化ベクトル iv の長さを取得する 説明 function openssl_cipher_iv_length ( string $cipher_algo ): int | false 暗号初期化ベクトル (iv) の長さを取得します。 パ ... ラメータ cipher_algo 暗号化方式。指定できる値は openssl_get_cipher_methods() を参照ください。 戻り値 成功した場合は暗号の長さ、失敗した場合 ... には false を返します。 エラー / 例外 暗号アルゴリズムが未知の場合、 E_WARNING レベルのエラーが発生します。 例 例1 openssl_cipher_iv_length() の例 <?php $method = 'AES-128-CBC' ; $ivlen = openssl_cipher_iv_length ( $method ); echo $ivlen ; ?> 上の例の出 ...
https://man.mtool.work/php/8.3/function.openssl-cipher-iv-length.html
EventBufferEvent::sslGetCipherInfo — Returns a textual description of the ciphe... 9653
EventBufferEvent::sslGetCipherInfo (PECL event >= 1.10.0) EventBufferEvent::sslGetCipherInfo — Returns a textual description of the cipher 説明 public function EventBufferEvent::sslGetCipherInfo (): string Retrieves description of the curre ... nt cipher by means of the SSL_CIPHER_description SSL API function (see SSL_CIPHER_get_name(3) man page). 注意 : This function is ava ... compiled with OpenSSL support. パラメータ この関数にはパラメータはありません。 戻り値 Returns a textual description of the cipher on success, or false on error. ...
https://man.mtool.work/php/8.3/eventbufferevent.sslgetcipherinfo.html
openssl_get_cipher_methods — 利用可能な暗号メソッドを取得 | PHP 8.3 9239
openssl_get_cipher_methods (PHP 5 >= 5.3.0, PHP 7, PHP 8) openssl_get_cipher_methods — 利用可能な暗号メソッドを取得 説明 function openssl_get_cipher_methods ( bool $aliases = false ): array 利用可能な暗号メソッドの一覧を取得します。 パラメー ... たものを返していました。 OpenSSL 1.1.1 以降では、小文字のみで記されたものが返されることに注意して下さい。 例 例1 openssl_get_cipher_methods() の例 どのように利用可能な暗号が見るか、およびどのエイリアスが利用可能か示します。 <?php $ciphers = openssl_get_c ... ipher_methods (); $ciphers_and_aliases = openssl_get_cipher_methods ( true ); $cipher_aliases = array_diff ( $ciphers_and_aliases , $ciphers ); //EC ... B mode should be avoided $ciphers = array_filter ( $ciphers , function( $n ) { return stripos ( $n , "ecb" )=== FALSE ; } ); //At least as early as Aug 201 ...
https://man.mtool.work/php/8.3/function.openssl-get-cipher-methods.html
openssl_cms_encrypt — CMS メッセージを暗号化する | PHP 8.3 9195
openssl_cms_encrypt (PHP 8) openssl_cms_encrypt — CMS メッセージを暗号化する 説明 function openssl_cms_encrypt ( string $input_filename , string $output_filename , OpenSSLCertificate | array | string $certificate , ? array $headers , int $f ... lags = 0 , int $encoding = OPENSSL_ENCODING_SMIME , string | int $cipher_algo = OPENSSL_CIPHER_AES_128_CBC ): bool この関数は、一人以上のメッセージの受け手に向けて、 それぞれの受け手の証明書を使っ ... グ。 encoding 出力のエンコーディング。 OPENSSL_ENCODING_SMIME , OPENSSL_ENCODING_DER , OPENSSL_ENCODING_PEM のいずれかです。 cipher_algo 使用する暗号化アルゴリズム。 戻り値 成功した場合に true を、失敗した場合に false を返します。 変更履歴 バージョン 説明 ... 8.5.0 cipher_algo の型が int または string になりました。 これより前のバージョンでは、 int でした。 8.1.0 デフォルトの暗号化アルゴリズム ...
https://man.mtool.work/php/8.3/function.openssl-cms-encrypt.html
EventBufferEvent::sslGetCipherName — Returns the current cipher name of the SSL... 8308
EventBufferEvent::sslGetCipherName (PECL event >= 1.10.0) EventBufferEvent::sslGetCipherName — Returns the current cipher name of the SSL connection 説明 public function EventBufferEvent::sslGetCipherName (): string Retrieves name of cipher ... only if Event is compiled with OpenSSL support. パラメータ この関数にはパラメータはありません。 戻り値 Returns the current cipher name of the SSL connection, or false on error. ...
https://man.mtool.work/php/8.3/eventbufferevent.sslgetciphername.html
EventBufferEvent::sslGetCipherVersion — Returns version of cipher used by curre... 8308
EventBufferEvent::sslGetCipherVersion (PECL event >= 1.10.0) EventBufferEvent::sslGetCipherVersion — Returns version of cipher used by current SSL connection 説明 public function EventBufferEvent::sslGetCipherVersion (): string Retrieves ve ... rsion of cipher used by current SSL connection. 注意 : This function is available only if Event is compiled with OpenSSL support. パラメー ... タ この関数にはパラメータはありません。 戻り値 Returns the current cipher version of the SSL connection, or false on error. ...
https://man.mtool.work/php/8.3/eventbufferevent.sslgetcipherversion.html
PREV 1 2 3 4 5 6 NEXT