1 2 3 4 5 6 7 8 9 10
typedef enum { MD4, MD5, SHA1 } SKeyAlgorithm; #define SKEY_SIZE 8 char *skey(SKeyAlgorithm algorithm, int seq, const char *seed, const char *passhrase);