Non-Interactive Time-Stamping and Proofs of Work in the Random Oracle Model