Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

mcrypt_get_cipher_name

(PHP 3>= 3.0.8, PHP 4 , PHP 5)

mcrypt_get_cipher_name -- 指定した暗号の名前を得る

説明

string mcrypt_get_cipher_name ( int cipher)

string mcrypt_get_cipher_name ( string cipher)

mcrypt_get_cipher_name() は、指定した暗号(cipher) の名前を得るために使用されます。

mcrypt_get_cipher_name() は、暗号の番号 (libmcrypt 2.2.x)または暗号名(libmcrypt 2.4.x)を引数とし、 暗号名を返します。指定した暗号が存在しない場合は、FALSE を返します。

例 1. mcrypt_get_cipher_name()の例

<?php
$cipher
= MCRYPT_TripleDES;

print
mcrypt_get_cipher_name ($cipher);
?>

上の例の出力は次のようになります。
3DES

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "PHP マニュアル". See Index Page for more info about Authorship and Copyright.

1999-2009 Linuxinfor.com. No rights reserved.