메뉴 건너뛰기

Dev tips

PHP mcrypt 암호화/복호화 AES/CBC/PKCS5/PKCS7/PADDING

taknim 2010.03.19 19:25 조회 수 : 19481 추천:3577

[AES/CBC/NOPADDING]
http://blog.naver.com/kst7132?Redirect=Log&logNo=140068747848

[AES/CBC/PKCS7PADDING]
http://blog.naver.com/jjaiwook79?Redirect=Log&logNo=30047961286

[PKCS5PADDING]
http://www.herongyang.com/Cryptography/DES-JDK-What-Is-PKCS5Padding.html

PKCS5 => 8bytes 로 계산해서 채움
PKCS7 => 16bytes 로 계산해서 채움