On Aug 16, 2018 1:41 AM, Ed <ed-open...@s5h.net> wrote: > > On Tue, Aug 07, 2018 at 05:40:21pm -0500, Edgar Pettijohn III wrote: > > I am attempting to create and verify password hashes from within perl. The > > easiest way I saw was to use Inline::C like this: > > > > __C__ > > > > int checkpass(const char *p, const char *h) { > > printf("%s: %s\n", p, h); > > return (crypt_checkpass(p, h)); > > } > > Why not > > perl -e 'print( crypt( $p, $h ), "\n" );' > >
I don't think those are the droids I'm looking for but I will give it a shot and see what happens. Thanks, Edgar > -- > Best regards, > Ed http://www.s5h.net/ >