A quick check of man pages shows that perls build-in crypt() function
calls the underlying libc crypt(3), and checking the man page of that
on an OpenBSD system notes that you can use blowfish hashing by
passing ‘$2’ as the “setting”/salt parameter to crypt(3).
If you want to encrypt things with blowfish that are other than
passwords, you might need to look at modules, but for basic password
encryption you can use the same functions the system already does.

-Chris

> On 11 Sep 2026, at 13:08, Paul Wisehart <[email protected]> wrote:
> 
> Hi!,
> 
> I am wanting to do bcrypt in perl to
> store passwords.  I don't see a p5-*
> package that does that.  
> 
> Is there a OpenBSD perl module
> in base that does this?
> 
> I'm still levelling up on finding
> the good OpenBSD perl stuff.
> 
> thanks for any pointers!,
> --
> Paul Wisehart
> 

Reply via email to