Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Useless GLIBC/POSIX Functions

Name: Anonymous 2011-06-23 22:33


MEMFROB(3)                                  Linux Programmer's Manual                                 MEMFROB(3)

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  only
       suitable for hiding strings.

RETURN VALUE
       The memfrob() function returns a pointer to the encrypted memory area.

CONFORMING TO
       The memfrob() function is unique to the GNU C Library.

SEE ALSO
       strfry(3)

COLOPHON
       This  page  is  part  of  release 3.27 of the Linux man-pages project.  A description of the project, and
       information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/.

GNU                                                2010-09-10                                         MEMFROB(3)
 Manual page memfrob(3) line 1/36 (END)

Name: Anonymous 2011-06-23 23:42

Hello...... i am very interested in ur post..


i am using C program and i neeed encrypt memory string..
plz tell me more... does the MEMFROB allow me to change the XOR constant????


kind regards
pradyut

Name: Anonymous 2011-06-23 23:42

I thought this was a joke!  But it's real.
http://www.gnu.org/s/hello/manual/libc/Trivial-Encryption.html

What a joke of a C library, and by extension of a joke of an operating system what would use such a C library.

This message written from a system with a real, SUS-certified C library.

Name: Anonymous 2011-06-23 23:58

Name: Anonymous 2011-06-24 0:13


Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List