summaryrefslogtreecommitdiffstats
path: root/man3/xcrypt.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man3/xcrypt.313
1 files changed, 6 insertions, 7 deletions
diff --git a/man3/xcrypt.3 b/man3/xcrypt.3
index 1a60327..320523f 100644
--- a/man3/xcrypt.3
+++ b/man3/xcrypt.3
@@ -9,7 +9,7 @@
.\" 3. xencrypt() a hexstring
.\" to bad to be true :(
.\"
-.TH XCRYPT 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH XCRYPT 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
xencrypt, xdecrypt, passwd2des \- RFS password encryption
.SH LIBRARY
@@ -18,9 +18,9 @@ Standard C library
.SH SYNOPSIS
.nf
.B "#include <rpc/des_crypt.h>"
-.PP
+.P
.BI "void passwd2des(char " *passwd ", char *" key ");"
-.PP
+.P
.BI "int xencrypt(char *" secret ", char *" passwd ");"
.BI "int xdecrypt(char *" secret ", char *" passwd ");"
.fi
@@ -28,7 +28,7 @@ Standard C library
.BR WARNING :
Do not use these functions in new code.
They do not achieve any type of acceptable cryptographic security guarantees.
-.PP
+.P
The function
.BR passwd2des ()
takes a character string
@@ -44,7 +44,7 @@ Both other functions described here use this function to turn their
argument
.I passwd
into a DES key.
-.PP
+.P
The
.BR xencrypt ()
function takes the ASCII character string
@@ -61,7 +61,7 @@ and outputs the result again in
as a hex string
.\" (over the alphabet 0123456789abcdef)
of the same length.
-.PP
+.P
The
.BR xdecrypt ()
function performs the converse operation.
@@ -87,7 +87,6 @@ T{
.BR xdecrypt ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH VERSIONS
These functions are available since glibc 2.1.
.SH BUGS