(Compatible with UNIX System V C)
void encrypt(message,flag);
"encrypt"is used to encrypt and decrypt "message" using the NBS Data Encryption Standard (DES) algorithm.
You must set an encryption key with the "setkey" function before calling "encrypt". The encrypted or decrypted result of "encrypt" is written over the "message" array. This result also consists only of the ASCII characters '\0' and '\1'.
Copyright © 1996, Thinkage Ltd.