cvsdist aed712
#include <stdio.h>
cvsdist aed712
#include <string.h>
cvsdist aed712
int main(int argc, char **argv)
cvsdist aed712
{
cvsdist aed712
	FILE *f=fopen("/dev/urandom", "r");
cvsdist aed712
	char key[61];
cvsdist aed712
	int i=0;
cvsdist aed712
	char tmp;
cvsdist aed712
	memset(key, 0, 61);
cvsdist aed712
	while(i<60) {
cvsdist aed712
		tmp=fgetc(f);
cvsdist aed712
		if((tmp>='a' && tmp<='z') ||
cvsdist aed712
		   (tmp>='A' && tmp<='Z') ||
cvsdist aa0a29
		   (tmp>='0' && tmp<='9'))
cvsdist aed712
			key[i++]=tmp;
cvsdist aed712
	}
cvsdist aed712
	puts(key);
cvsdist aed712
	fclose(f);
cvsdist aed712
}