use be32toh on nonce2