One-way encryption
From Wikipedia, the free encyclopedia
In cryptography, the term "one-way encryption" has been used to refer to a number of different things:
- One-way function, a function difficult to invert. Note that encryption is, by definition, reversible. Hence, the term one-way encryption is slightly incorrect in a sense.
- Trapdoor one-way function, a one-way function that requires a secret to invert efficiently.
- Asymmetric encryption, if it satisfies a rather weak condition of not being invertible by an attacker .
- Cryptographic hash functions are modelled on one-way functions, but are different from encryption in the strict sense. However, when used as a message digest they produce a similar output to that of many ciphers, hence the mixing of terminology. Cryptographic hash functions have two main aims: to be one-way and collision resistant. The term one-way encryption is often used in applications such as secure password storage, where the one-way property is important.