Skip to content
Design Corner Knowledge Base ← Back to designcorner.co.ke
Knowledge Base

Cybersecurity

One-Way Function

Also known as: Hash Function

1 min read Updated November 10, 2026

Definition A calculation that is easy to do but practically impossible to reverse.

What it is

A one-way function turns input into output in a way that you cannot work backwards from the result. It underpins password hashing and digital signatures.

Why it matters for your business

Websites should store passwords as hashes, so a stolen database does not reveal real passwords.

Real-world example

A properly built WordPress site stores only a hash of each user's password.

Design Corner tip

Choose software that hashes passwords with modern methods, and enable MFA as well.