-.\" Copyright 2000 Nicolás Lichtmaier <nick@debian.org>
+.\" Copyright 2000 Nicolás Lichtmaier <nick@debian.org>
.\" Created 2000-07-22 00:52-0300
.\"
.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
.\"
.\" Modified 2003-04-04, aeb
.\"
-.TH ENCRYPT 3 2003-04-04 "" "Linux Programmer's Manual"
+.TH ENCRYPT 3 2013-07-22 "" "Linux Programmer's Manual"
.SH NAME
encrypt, setkey, encrypt_r, setkey_r \- encrypt 64-bit messages
.SH SYNOPSIS
.B ENOSYS
The function is not provided.
(For example because of former USA export restrictions.)
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR encrypt ()
+and
+.BR setkey ()
+functions are not thread-safe.
+.LP
+The
+.BR encrypt_r ()
+and
+.BR setkey_r ()
+functions are thread-safe.
.SH CONFORMING TO
The functions
.BR encrypt ()
.BR setkey_r ()
are GNU extensions.
.SH NOTES
-In glibc 2.2 these functions use the DES algorithm.
+In glibc 2.2, these functions use the DES algorithm.
.SH EXAMPLE
You need to link with libcrypt to compile this example with glibc.
-To do useful work the
+To do useful work, the
.I key[]
and
.I txt[]
.BR crypt (3),
.BR ecb_crypt (3),
.\" .BR fcrypt (3)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.