Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有功能:
function aes_encrypt($value, $key) { return base64_encode(Security::rijndael($value, $key, 'encrypt')); }
Security::rijndael来自 cakephp 安全组件,它实现了 Rijndael 256 位密钥加密。
Security::rijndael
我已经将加密数据存储在数据库中,所以我需要知道如何依赖输入的输出长度。