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