encrypt_gen_printsub
void encrypt_gen_printsub(unsigned char *, int, unsigned char *, int);
encrypt_gen_printsub(data, cnt, buf, buflen);