for ($x=0; $x<$iv_len; $x++) { printf("%02x ", ord(substr($enc_text,$x,1))); } print "\n"; for ($x=0; $x<$iv_len; $x++) { printf("%02x ", ord(substr($password,$x,1))); } print "\n"; for ($x=0; $x<$iv_len; $x++) { printf("%02x ", ord(substr($password,$x,1))^ord(substr($enc_text,$x,1))); } print "\n";