All-or-nothing property is a new encryption mode proposed by Rivest and has the property that one must decrypt the entire
ciphertext to determine any plaintext block. In this paper, we propose a hash function with all-or-nothing property. The proposed
scheme can use the existing hash functions without changing their structures, and it is secure against all of known attacks.
Moreover, the proposed method can be easily extended to the MAC(Message Authentication Code) and provide message confidentiality
as well as authentication.