Scroll to navigation

memfrob(3) Library Functions Manual memfrob(3)

이름

memfrob - frobnicate (obfuscate) a memory area

라이브러리

표준 C 라이브러리 (libc, -lc)

요약

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

설명

The memfrob() function obfuscates 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 obfuscated memory area.

이 함수는 XOR 상수를 고정시켰기 때문에 적당한 암호화 루틴이 아니며 문자들을 숨기는데만 알맞다는 점을 주의해라.

반환값

The memfrob() function returns a pointer to the obfuscated memory area.

속성

이 섹션에서 사용되는 용어에 대한 설명은 attributes(7)을 참조하십시오.

상호 작용 속성 번호
memfrob() Thread safety MT-Safe

표준

GNU.

추가 참조

bstring(3), strfry(3)

번역

이 매뉴얼 페이지의 한국어 번역은 다음에 의해 편집되었습니다: 정강훈 <skyeyes@soback.kornet.net>

이 번역은 무료 문서입니다. 저작권 조건에 대해서는 GNU General Public License 버전 3 이상을 읽으십시오. 책임이 없습니다.

이 매뉴얼 페이지의 번역에서 오류를 발견하면 translation-team-ko@googlegroups.com 로 이메일을 보내주십시오.

2023년 7월 20일 Linux man-pages 6.05.01