當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Crypt_Base::Crypt_Base方法代碼示例

本文整理匯總了PHP中Crypt_Base::Crypt_Base方法的典型用法代碼示例。如果您正苦於以下問題:PHP Crypt_Base::Crypt_Base方法的具體用法?PHP Crypt_Base::Crypt_Base怎麽用?PHP Crypt_Base::Crypt_Base使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Crypt_Base的用法示例。


在下文中一共展示了Crypt_Base::Crypt_Base方法的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1:

 /**
  * Default Constructor.
  *
  * Determines whether or not the mcrypt extension should be used.
  *
  * $mode could be:
  *
  * - CRYPT_RC2_MODE_ECB
  *
  * - CRYPT_RC2_MODE_CBC
  *
  * - CRYPT_RC2_MODE_CTR
  *
  * - CRYPT_RC2_MODE_CFB
  *
  * - CRYPT_RC2_MODE_OFB
  *
  * If not explicitly set, CRYPT_RC2_MODE_CBC will be used.
  *
  * @see Crypt_Base::Crypt_Base()
  * @param optional Integer $mode
  * @access public
  */
 function Crypt_RC2($mode = CRYPT_RC2_MODE_CBC)
 {
     parent::Crypt_Base($mode);
     $this->setKey('');
 }
開發者ID:tamboer,項目名稱:LaravelOctober,代碼行數:28,代碼來源:RC2.php

示例2:

 /**
  * Default Constructor.
  *
  * Determines whether or not the mcrypt extension should be used.
  *
  * $mode could be:
  *
  * - CRYPT_RIJNDAEL_MODE_ECB
  *
  * - CRYPT_RIJNDAEL_MODE_CBC
  *
  * - CRYPT_RIJNDAEL_MODE_CTR
  *
  * - CRYPT_RIJNDAEL_MODE_CFB
  *
  * - CRYPT_RIJNDAEL_MODE_OFB
  *
  * If not explictly set, CRYPT_RIJNDAEL_MODE_CBC will be used.
  *
  * @see Crypt_Base::Crypt_Base()
  * @param optional Integer $mode
  * @access public
  */
 function Crypt_Rijndael($mode = CRYPT_RIJNDAEL_MODE_CBC)
 {
     parent::Crypt_Base($mode);
 }
開發者ID:404rq,項目名稱:bgpanel,代碼行數:27,代碼來源:Rijndael.php

示例3:

 /**
  * Default Constructor.
  *
  * Determines whether or not the mcrypt extension should be used.
  *
  * $mode could be:
  *
  * - CRYPT_TWOFISH_MODE_ECB
  *
  * - CRYPT_TWOFISH_MODE_CBC
  *
  * - CRYPT_TWOFISH_MODE_CTR
  *
  * - CRYPT_TWOFISH_MODE_CFB
  *
  * - CRYPT_TWOFISH_MODE_OFB
  *
  * If not explicitly set, CRYPT_TWOFISH_MODE_CBC will be used.
  *
  * @see Crypt_Base::Crypt_Base()
  * @param optional Integer $mode
  * @access public
  */
 function Crypt_Twofish($mode = CRYPT_TWOFISH_MODE_CBC)
 {
     parent::Crypt_Base($mode);
 }
開發者ID:jaymondigo,項目名稱:custommade,代碼行數:27,代碼來源:Twofish.php

示例4:

 /**
  * Default Constructor.
  *
  * Determines whether or not the mcrypt extension should be used.
  *
  * @see    Crypt_Base::Crypt_Base()
  * @return Crypt_RC4
  * @access public
  */
 function Crypt_RC4()
 {
     parent::Crypt_Base(CRYPT_MODE_STREAM);
 }
開發者ID:TheTypoMaster,項目名稱:SPHERE-Framework,代碼行數:13,代碼來源:RC4.php

示例5:

 /**
  * Default Constructor.
  *
  * Determines whether or not the mcrypt extension should be used.
  *
  * $mode could be:
  *
  * - CRYPT_BLOWFISH_MODE_ECB
  *
  * - CRYPT_BLOWFISH_MODE_CBC
  *
  * - CRYPT_BLOWFISH_MODE_CTR
  *
  * - CRYPT_BLOWFISH_MODE_CFB
  *
  * - CRYPT_BLOWFISH_MODE_OFB
  *
  * If not explictly set, CRYPT_BLOWFISH_MODE_CBC will be used.
  *
  * @see Crypt_Base::Crypt_Base()
  * @param optional Integer $mode
  * @access public
  */
 function Crypt_Blowfish($mode = CRYPT_BLOWFISH_MODE_CBC)
 {
     parent::Crypt_Base($mode);
 }
開發者ID:achristensen3,項目名稱:fracture-active,代碼行數:27,代碼來源:Blowfish.php

示例6:

 /**
  * Default Constructor.
  *
  * Determines whether or not the mcrypt extension should be used.
  *
  * $mode could be:
  *
  * - CRYPT_RC2_MODE_ECB
  *
  * - CRYPT_RC2_MODE_CBC
  *
  * - CRYPT_RC2_MODE_CTR
  *
  * - CRYPT_RC2_MODE_CFB
  *
  * - CRYPT_RC2_MODE_OFB
  *
  * If not explicitly set, CRYPT_RC2_MODE_CBC will be used.
  *
  * @see Crypt_Base::Crypt_Base()
  * @param int $mode
  * @access public
  */
 function Crypt_RC2($mode = CRYPT_RC2_MODE_CBC)
 {
     parent::Crypt_Base($mode);
 }
開發者ID:Krassmus,項目名稱:LehrMarktplatz,代碼行數:27,代碼來源:RC2.php

示例7:

 /**
  * Default Constructor.
  *
  * Determines whether or not the mcrypt extension should be used.
  *
  * @see Crypt_Base::Crypt_Base()
  * @return Crypt_RC4
  * @access public
  */
 function __construct()
 {
     parent::Crypt_Base(CRYPT_MODE_STREAM);
 }
開發者ID:kidaa30,項目名稱:redcat,代碼行數:13,代碼來源:Crypt_RC4.php

示例8:

 /**
  * Default Constructor.
  *
  * Determines whether or not the mcrypt extension should be used.
  *
  * $mode could be:
  *
  * - CRYPT_DES_MODE_ECB
  *
  * - CRYPT_DES_MODE_CBC
  *
  * - CRYPT_DES_MODE_CTR
  *
  * - CRYPT_DES_MODE_CFB
  *
  * - CRYPT_DES_MODE_OFB
  *
  * If not explictly set, CRYPT_DES_MODE_CBC will be used.
  *
  * @see Crypt_Base::Crypt_Base()
  * @param optional Integer $mode
  * @access public
  */
 function Crypt_DES($mode = CRYPT_DES_MODE_CBC)
 {
     parent::Crypt_Base($mode);
 }
開發者ID:nightcore125,項目名稱:developer,代碼行數:27,代碼來源:DES.php

示例9:

 function __construct($mode = CRYPT_RIJNDAEL_MODE_CBC)
 {
     return parent::Crypt_Base($mode);
 }
開發者ID:AgilData,項目名稱:WordPress-Skeleton,代碼行數:4,代碼來源:Rijndael.php


注:本文中的Crypt_Base::Crypt_Base方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。