Aes CBC加密

2019-04       lijiangkun

1 <?php 2 namespace app\components; 3 use yii; 4 class Aes 5 { 6 /** 7 * This was AES-128 / CBC / PKCS5Padding 8 * return base64_encode string 9 * @param string $plaintext 10 * @param string $key 11 * @return string 12 */ 13 ...