The server host I use includes the Blowfish encryption module and the consistency with passwords matching the encrypted version has been spot on but only, when used with 8 char passwords.
Of the examples I found, the following (Blowfish) one works with consistent results but there is a limit of only 8 char passwords. I’m looking for something where I can use more than 8 characters. Is there anyway the code can be modified for that?
The password in the following is just random characters and not any actual password used for anything I know of.
use Crypt::Blowfish;
my $Blowfish_Key = "aqweRTY123$%^";
my $Blowfish_Cipher = new Crypt::Blowfish $Blowfish_Key;
### Remember, sentence has to be 8 long
my $Sentence = "q#eR#*12";
my $Encrypted = $Blowfish_Cipher->encrypt($Sentence);
my $Decrypted = $Blowfish_Cipher->decrypt($Encrypted);
I attempted to use the perl crypt function but that didn’t pan out too well.