Mercurial > dropbear
view notes/etc/whirltest.c @ 211:f01f0400314d libtomcrypt
disapproval of revision 6a39eb8b36778460fca83b8149df2a8b6d3327fd
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 06 Jul 2005 13:23:45 +0000 |
parents | d7da3b1e1540 |
children | 39d5d58461d6 |
line wrap: on
line source
#include <stdio.h> int main(void) { char buf[4096]; int x; while (fgets(buf, sizeof(buf)-2, stdin) != NULL) { for (x = 0; x < 128; ) { printf("0x%c%c, ", buf[x], buf[x+1]); if (!((x += 2) & 31)) printf("\n"); } } }