我正在使用zfcuser模块进行登录和注册.我不知道zfcuser使用哪种加密技术。$bcrypt = new Bcrypt;$pass = $bcrypt->create($newpass);use ZfcUser\Options\PasswordOptionsInterface;
use Zend\ServiceMan
我正在尝试使用Zend_Filter_Encrypt函数对一些数据进行对称加密。问题是,如果我加密一些数据,然后解密它,在解密的数据后面有空字节,我不知道为什么。例如: Plaintext: test Encrypted:����pk�Decrypted: test����
public function encryptPassword($