in reply to decryption problem
That should work like this: pack "N N", 0, 1 but I must admit I haven't tested it.