NAME
memfrob - frobnicate (encrypt) a memory area
SYNOPSIS
#define _GNU_SOURCE /* See feature_test_macros(7) */ #include <string.h> void *memfrob(void *s, size_t n);
DESCRIPTION
The memfrob() function encrypts the first n bytes of the memory area s by exclusive-ORing each character with the number 42. The effect can be reversed by using memfrob() on the encrypted memory area. Note that this function is not a proper encryption routine as the XOR constant is fixed, and is suitable only for hiding strings.
RETURN VALUE
The memfrob() function returns a pointer to the encrypted memory area.
ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7). Interface Attribute Value memfrob() Thread safety MT-Safe
CONFORMING TO
The memfrob() function is unique to the GNU C Library.
SEE ALSO
strfry(3)
COLOPHON
This page is part of release 4.09 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
More Linux Commands
manpages/glGetClipPlane.3gl.html
glGetClipPlane(3gl) - return the coefficients of the specifi
glGetClipPlane returns in equation the four coefficients of the plane equation for plane. NOTES It is always the case that GL_CLIP_PLANE$i$ = GL_CLIP_PLANE0 + $
manpages/adjtimex.2.html
adjtimex(2) - tune kernel clock (System - Linux man page)...
Linux uses David L. Mills clock adjustment algorithm (see RFC 1305). The system call adjtimex() reads and optionally sets adjustment parameters for this algorit
manpages/lircmd.8.html
lircmd(8) - LIRC mouse daemon translates infrared signals in
This daemon can simulate a MouseSystems, IntelliMouse or IMPS/2 type mouse. It gets the received buttons from lircd and converts them to mouse events. To make t
manpages/htfuzzy.1.html
htfuzzy(1) - fuzzy command-line search utility for the ht://
Description to follow here OPTIONS -c configfile Use the specified configfile instead of the default. -v Verbose mode , -vvv etc ). Specifying more than two vs
manpages/Tk_ManageGeometry.3.html
Tk_ManageGeometry(3) - arrange to handle geometry requests f
Tk_ManageGeometry arranges for a particular geometry manager, described by the mgrPtr argument, to control the geometry of a particular slave window, given by t
manpages/getmntent.3.html
getmntent(3) - get file system descriptor file entry........
These routines are used to access the filesystem description file /etc/fstab and the mounted filesystem description file /etc/mtab. The setmntent() function ope
manpages/curl_slist_append.3.html
curl_slist_append(3) - add a string to an slist (Man Page)
curl_slist_append() appends a specified string to a linked list of strings. The existing list should be passed as the first argument while the new list is retur
manpages/protocols.5.html
protocols(5) - protocols definition file - Linux man page...
This file is a plain ASCII file, describing the various DARPA internet protocols that are available from the TCP/IP subsystem. It should be consulted instead of
manpages/gvfs-trash.1.html
gvfs-trash(1) Move files or directories to the trash........
gvfs-trash sends files or directories to the Trashcan. This can be a different folder depending on where the file is located, and not all file systems support t
manpages/auparse_get_field_str.3.html
auparse_get_field_str(3) - get current field's value........
auparse_get_field_str allows access to the value in the current field of the current record in the current event. RETURN VALUE Returns NULL if an error occurs;
manpages/pack.n.html
pack(n) - Geometry manager that packs around edges of cavity
The pack command is used to communicate with the packer, a geometry manager that arranges the children of a parent by packing them in order around the edges of
manpages/XtAppSetWarningMsgHandler.3.html
XtAppSetWarningMsgHandler(3) - high-level error handlers....
The XtAppErrorMsg function calls the high-level error handler and passes the specified information. The XtAppSetErrorMsgHandler function registers the specified
