Ubuntu Manpages

Ns_Encrypt

Encrypt string using DES



#include "ns.h"

char *
Ns_Encrypt(char *pw, char *salt, char iobuf[ ])

The Ns_Encrypt function DES encrypts the specified key, perturbed by salt. The result is returned in iobuf, which should be at least NS_ENCRYPT_BUFSIZE bytes in size.

nsd(1), info(n)