Displaying 2 results from an estimated 2 matches for "saltchar".
Did you mean:
salt_char
2004 Aug 06
0
one more try..
...s with it.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifndef lint
static char rcsid[] = "@(#)$Id: mkpasswd.c,v 1.1.1.1 1999/03/05 22:40:55
barath Exp $";
#endif
extern char *getpass();
int main(argc, argv)
int argc;
char *argv[];
{
static char saltChars[] =
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./";
char salt[3];
char * plaintext;
int i;
if (argc < 2) {
srandom(time(0)); /* may not be the BEST salt, but its close */
salt[0] = saltChars[random() % 64];
salt[1] = saltChars[random() % 64];...
2004 Aug 06
2
one more try..
asked once before and didn't get a reply, but it was probably lost in my
back-and-forth with Jack.. where is the encrypted password support for
icecast 1.3.10?
The documentation references a "mkpasswd.c" source file that doesn't exist
anywhere in my icecast directory tree..
-------signature file-------
PGP Key Fingerprint:
446B 7718 B219 9F1E 43DD 8E4A 6BE9 D739 CCC5 7FD7