• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • mcrypt_cfb()

    (PHP 4, PHP 5)

    以 CFB 模式加解密数据

    Warning

    This function wasDEPRECATEDin PHP 5.5.0, andREMOVEDin PHP 7.0.0.

    Alternatives to this function include:

    说明

    mcrypt_cfb(int $cipher,string $key,string $data,int $mode,string $iv): string
    mcrypt_cfb(string $cipher,string $key,string $data,int $mode[,string $iv]): string

    第一个原型是针对 libmcrypt 2.2.x 的,第二个原型是针对 libmcrypt 2.4.x 及更高版本的。$mode可选值为:MCRYPT_ENCRYPTMCRYPT_DECRYPT

    上篇:mcrypt_cbc()

    下篇:mcrypt_create_iv()