Added 'hash chain' implementation.