*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> encrypt (3)              
Title
Content
Arch
Section
 

ENCRYPT(3)

Contents


NAME    [Toc]    [Back]

       encrypt - Encrypt 64 bits messages

SYNOPSIS    [Toc]    [Back]

       #define _XOPEN_SOURCE

       #include <unistd.h>

       void encrypt(char block[64], int edflag);
       void setkey(const char *key);

DESCRIPTION    [Toc]    [Back]

       These  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 VALUE    [Toc]    [Back]

       These functions do not return any value.

CONFORMING TO    [Toc]    [Back]

       SVID, SUSv2

SEE ALSO    [Toc]    [Back]

      
      
       crypt(3)



GNU				  2000-07-22			    ENCRYPT(3)
[ Back ]
 Similar pages
Name OS Title
writesrv Tru64 Lets users send messages to and receive messages from a remote system
krb5_decrypt_EncryptedData FreeBSD encrypt and decrypt data
krb5_encrypt FreeBSD encrypt and decrypt data
krb5_encrypt_EncryptedData OpenBSD encrypt and decrypt data
krb5_decrypt OpenBSD encrypt and decrypt data
krb5_encrypt_EncryptedData FreeBSD encrypt and decrypt data
krb5_encrypt OpenBSD encrypt and decrypt data
krb5_decrypt_EncryptedData OpenBSD encrypt and decrypt data
krb5_decrypt FreeBSD encrypt and decrypt data
memfrob Linux frobnicate (encrypt) a memory area
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service