| Red Hat Documentation: man pages: man3: Linux Programmer's Manual (3) |
MEMFROBSection: Linux Programmer's Manual (3)Updated: April 12, 2025 Index NAMEmemfrob - frobnicate (encrypt) a memory areaSYNOPSIS#include <string.h> void *memfrob(void *s, size_t n); DESCRIPTIONThe 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 only suitable for hiding strings. RETURN VALUEThe memfrob() function returns a pointer to the encrypted memory area.CONFORMING TOThe memfrob() function is unique to the Linux C Library and GNU C Library.SEE ALSO
IndexThis document was created by using the manual pages. Time: 11:58:05 GMT, March 24, 2025 |
|
© 2001 Red Hat, Inc. All rights reserved. About Red Hat : Legal statement : Privacy statement : Y2K statement : Contact Red Hat |