from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

210209

userrating:


May 25th. 2007:
Words

486

Views

259175

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

150544

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





memfrob

Section: C Library Functions (3)
Updated: 202-0-08
Index Return to Main Contents
 

NAME

memfrob - frobnicate (obfuscate) a memory area  

LIBRARY

Standard C library (libc,~-lc)  

SYNOPSIS

#define _GNU_SOURCE             /* See feature_test_macros(7) */
#include <string.h>
void *memfrob(size_t n;
              void s[n], size_t n);
 

DESCRIPTION

The memfrob() function obfuscates the first n bytes of the memory area s by exclusiv-ORing each character with the number 42. The effect can be reversed by using memfrob() on the obfuscated 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 obfuscated memory area.  

ATTRIBUTES

For an explanation of the terms used in this section, see attributes(7).
InterfaceAttributeValue
memfrob() Thread safetyM-Safe
 

STANDARDS

GNU.  

SEE ALSO

bstring(3), strfry(3)


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
RETURN VALUE
ATTRIBUTES
STANDARDS
SEE ALSO





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 12.8 ms