Copyright (C) 2000-2012 |
Manpages ENCRYPTSection: Linux Programmer's Manual (3)Updated: 2000-07-22 Index Return to Main Contents NAMEencrypt - Encrypt 64 bits messagesSYNOPSIS#define _XOPEN_SOURCE#include <unistd.h>
void encrypt(char block[64], int edflag);
DESCRIPTIONThese functions encrypt and decrypt 64 bit messages. The setkey() function sets the key used by encrypt(). The key parameter used here is an array of bytes, having each byte the numerical value 1 or 0. The key[n] byte, where n=8*q-1, is ignored consisting the key used of 56 bits.The setkey() function modifies the passed buffer, encoding if edflag is 0, and decoding if 1 is being passed. These functions are not reentrant. RETURN VALUEThese functions do not return any value.CONFORMING TOSVID, SUSv2SEE ALSOcrypt(3)
IndexThis document was created by man2html, using the manual pages. Time: 18:27:13 GMT, April 23, 2024 |