]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
memfrob.3: wfix
authorAlejandro Colomar <alx.manpages@gmail.com>
Sun, 6 Mar 2022 19:23:09 +0000 (20:23 +0100)
committerAlejandro Colomar <alx.manpages@gmail.com>
Sun, 6 Mar 2022 19:23:20 +0000 (20:23 +0100)
This function doesn't encrypt.  It encodes, which is different.
But I used the word obfuscate, which is the same that glibc uses,
and it is very clear, I think.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man3/memfrob.3

index 4087976ecf7ad8d7ad656ca917a34252180c4af0..76c6ebd2d207d8bbafb36d948375af337d6e0984 100644 (file)
@@ -9,7 +9,7 @@
 .\" Modified Sat Jul 24 18:54:45 1993 by Rik Faith (faith@cs.unc.edu)
 .TH MEMFROB 3  2021-03-22 "GNU" "Linux Programmer's Manual"
 .SH NAME
-memfrob \- frobnicate (encrypt) a memory area
+memfrob \- frobnicate (obfuscate) a memory area
 .SH SYNOPSIS
 .nf
 .BR "#define _GNU_SOURCE" "             /* See feature_test_macros(7) */"
@@ -20,20 +20,20 @@ memfrob \- frobnicate (encrypt) a memory area
 .SH DESCRIPTION
 The
 .BR memfrob ()
-function encrypts the first \fIn\fP bytes of the
+function obfuscates the first \fIn\fP bytes of the
 memory area \fIs\fP by exclusive-ORing each character with the number
 42.
 The effect can be reversed by using
 .BR memfrob ()
 on the
-encrypted memory area.
+obfuscated memory area.
 .PP
 Note that this function is not a proper encryption routine as the XOR
 constant is fixed, and is suitable only for hiding strings.
 .SH RETURN VALUE
 The
 .BR memfrob ()
-function returns a pointer to the encrypted memory
+function returns a pointer to the obfuscated memory
 area.
 .SH ATTRIBUTES
 For an explanation of the terms used in this section, see