summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Phoenix <rootbeer@teleport.com>1997-02-28 13:18:25 -0800
committerChip Salzenberg <chip@atlantic.net>1997-03-01 18:40:49 +1200
commit033135fa782fb902eccfa5fabb72b7be2050ba12 (patch)
tree203d4a0df916a9f2e909fe77dec2c0d266202be1
parent4b24d6896c46687d9b56b06c0a61d831247ac860 (diff)
downloadperl-033135fa782fb902eccfa5fabb72b7be2050ba12.tar.gz
Clarify C<crypt> documentation
p5p-msgid: <Pine.GSO.3.95q.970228131112.12357D-100000@kelly.teleport.com>
-rw-r--r--pod/perlfunc.pod6
1 files changed, 4 insertions, 2 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index cf5dd8fef2..b55e1b1ba6 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -606,8 +606,10 @@ extirpated as a potential munition). This can prove useful for checking
the password file for lousy passwords, amongst other things. Only the
guys wearing white hats should do this.
-Note that there is no corresponding decrypt, so this fucntion isn't
-all that useful for cryptography. (For that, see your nearby CPAN mirror.)
+Note that crypt is intended to be a one-way function, much like breaking
+eggs to make an omelette. Thus, there is no (known) corresponding
+decrypt function, so this function isn't all that useful for
+cryptography. (For that, see your nearby CPAN mirror.)
Here's an example that makes sure that whoever runs this program knows
their own password: