php, mcrypt_ecb의 deprecated
php7 에서는 mcrypt_ecb가 removed 되었다.php5.5부터 deprecated가 되었는데 그것도 모르고 잘만 쓰고 있었다... WarningThis function was DEPRECATED in PHP 5.5.0, and REMOVED in PHP 7.0.0.Alternatives to this function include:mcrypt_decrypt()mcrypt_encrypt()http://php.net/manual/kr/function.mcrypt-ecb.php 그래서 대체 함수를 무엇으로 할까 하다가 mcrypt_encrypt() 를 이용하게 되었다.기존에는 key를 20자리를 썼었는데 변경하면서 16, 24, 32자리만 된다고 해서 24자리로 업데이트를 하였다. 기존base64..
2016.08.03