<?php
// encryption with phpseclib - PHP Secure Communications Library
use phpseclib3\Crypt\Blowfish;
$blowfish = new Blowfish('ecb');
$blowfish->setKey('48495774373859848594959');
$plaintext = 'My plaintext string';
$encrypted = $blowfish->encrypt($plaintext);
$decrypted = $blowfish->decrypt($encrypted);
dump($encrypted, $decrypted);
^ b"È”X"˜[ßà™Û\x06!\x05ç\eÇxsgHÆ\x07\x7Fa"
^ "My plaintext string"