Could you please elaborate on the fundamental distinction between a key and a HashKey in the realm of cryptography and blockchain technology? How do they differ in their functions, purposes, and applications? Understanding this distinction is crucial for those venturing into the world of cryptocurrency and finance.