{"Url":"http:\/\/www.movable-type.co.uk\/scripts\/aes-php.html","Domain":"www.movable-type.co.uk","Meta":{"author":"Chris Veness, www.movable-type.co.uk","keywords":"AES advanced encryption algorithm standard counter mode operation PHP","viewport":"width=device-width, initial-scale=1"},"Title":"PHP Implementation of AES Advanced Encryption Standard in Counter Mode","Images":[],"Leadin":"This is a PHP version of AES (Advanced Encryption Standard). I created this PHP version as a server-side complement to my JavaScript AES implementation. This version directly mirrors the JavaScript version; it differs in that PHP has Base64 encoding and UTF-8 encoding built-in, and has no unsigned-right-shift operator(!), but is otherwise a straightforward port, with syntactic differences and differently-named library functions. It is quite simple to compare the two versions side-by-side. See below for the source code of the PHP implementation. \u00a7ection numbers relate the code back to sections in the standard. I offer these formul\u00e6 & scripts for free use and adaptation as my contribution to the open-source info-sphere from which I have received so much. You are welcome to re-use these scripts [under a simple attribution license or a GPL licence, without any warranty express or implied] provided solely that you retain my copyright notice and a link to this page.","Type":"site","Media":"site","ImageID":"0","Limit":{"width":"743","height":"420","title":63,"description":530}}