On Fri, May 21, 2010 at 3:44 PM, Robert Hajime Lanning
<[email protected]> wrote:
> Luke Hankins wrote:
>> * Robert Hajime Lanning wrote:
>>> libc crypt() call.
>>
>> What he said, but if you need further pointers for your language of choice,
>> try googling for [encrypt md5 password $LANGUAGE] and you'll get examples
>> in the first few hits, I'm sure.
>>
>> -Luke
>
> #! /usr/bin/perl
>
> print crypt("mypassword","\$1\$myrandomsalt") . "\n";
>
>
> --
> END OF LINE
>       --MCP
> _______________________________________________
> Tech mailing list
> [email protected]
> http://lopsa.org/cgi-bin/mailman/listinfo/tech
> This list provided by the League of Professional System Administrators
>  http://lopsa.org/
>

I think I know the answer to this but I'm asking just to make sure.
Can the salt be *anything*?

-Mathew

_______________________________________________
Tech mailing list
[email protected]
http://lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to