aboutsummaryrefslogtreecommitdiffstats
path: root/man3/encrypt.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/encrypt.3')
-rw-r--r--man3/encrypt.338
1 files changed, 20 insertions, 18 deletions
diff --git a/man3/encrypt.3 b/man3/encrypt.3
index c71a62e6e9..d0d35e9228 100644
--- a/man3/encrypt.3
+++ b/man3/encrypt.3
@@ -126,28 +126,30 @@ T} Thread safety MT-Safe
.hy
.ad
.sp 1
-.SH VERSIONS
+.SH STANDARDS
+.TP
+.BR encrypt ()
+.TQ
+.BR setkey ()
+POSIX.1-2008.
+.TP
+.BR encrypt_r ()
+.TQ
+.BR setkey_r ()
+None.
+.SH HISTORY
+Removed in glibc 2.28.
+.PP
Because they employ the DES block cipher,
which is no longer considered secure,
-.BR encrypt (),
-.BR encrypt_r (),
-.BR setkey (),
-and
-.BR setkey_r ()
-were removed in glibc 2.28.
+these functions were removed from glibc.
Applications should switch to a modern cryptography library, such as
.BR libgcrypt .
-.SH STANDARDS
-.BR encrypt (),
-.BR setkey ():
-POSIX.1-2001, POSIX.1-2008, SUS, SVr4.
-.PP
-The functions
-.BR encrypt_r ()
-and
-.BR setkey_r ()
-are GNU extensions.
-.SH NOTES
+.TP
+.BR encrypt ()
+.TQ
+.BR setkey ()
+POSIX.1-2001, SUS, SVr4.
.SS Availability in glibc
See
.BR crypt (3).