DES cipher implementation in PHP