Overview#
Crypt is both- Cryptographic Hash Function and
- An Application to create and change passwords on NIX systems
Cryptographic Hash Function #
Cryptographic Hash Function is used both to generate a new hash for storage and also to hash a proffered password with a recorded salt for comparison.Modern Unix implementations of the Crypt library routine support a variety of different Ciphers.
The particular Cryptographic Hash Function used can be identified by a unique code prefix in the resulting hashtext, following a pseudo-standard called Modular Crypt Format.
Need to create A Crypt Password#
We often need to do testing and found that we could do this as:
# perl -le 'print crypt("password","salt")' sa3tHJ3/KuYvI
More Information#
There might be more information for this subject on one of the following:- [#1] - Crypt_(C)
- based on information obtained 2019-12-30
- [#2] - Crypt Password Storage Scheme
- based on information obtained 2019-12-30