DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T t

⟦4c8f9c3e8⟧ TextFile

    Length: 640 (0x280)
    Types: TextFile
    Names: »tester.c«

Derivation

└─⟦4f9d7c866⟧ Bits:30007245 EUUGD6: Sikkerheds distributionen
    └─⟦this⟧ »./crack/Sources/tester.c« 

TextFile

#include <stdio.h>
#include <time.h>

main (argc, argv)
    int argc;
    char *argv[];
{
    register int i;
    long int t;

    if (argc < 2)
    {
	exit (1);
    }
    init_des ();

    printf ("%s\n", fcrypt ("fredfred", "fredfred"));

    if (strcmp (fcrypt ("fredfred", "fredfred"), "frxWbx4IRuBBA"))
    {
	printf ("Version of fcrypt() is not compatible with standard.\n");
	exit (0);
    }
    i = atoi (argv[1]);

    printf ("Doing %d fcrypts()\n", i);

    time (&t);
    printf ("%s", ctime (&t));

    while (i--)
    {
	fcrypt ("fredfred", "fredfred");
    }

    time (&t);
    printf ("%s", ctime (&t));

    return (0);
}