#include #include #include #include "netsec_des.c" void encryptECB(char* input, char* output, int length, char* key) { const_DES_cblock inbuff[8]; DES_cblock outbuff[8]; int blockcount = length/8; int i,n; for(i=0; i