Lines Matching defs:Blowfish
4 * Pure-PHP implementation of Blowfish.
12 * - {@link http://en.wikipedia.org/wiki/Blowfish_(cipher) Wikipedia description of Blowfish}
14 * # An overview of bcrypt vs Blowfish
20 * bcrypt is basically Blowfish but instead of performing the key expansion once it performs
27 * When using Blowfish as an encryption algorithm, _encryptBlock() is called 9 + 512 +
32 * produce the ciphertext. In the pure-PHP implementation of Blowfish these remaining
57 * _encryptBlock() then the regular Blowfish does. That said, the Blowfish _encryptBlock() is
69 * than regular Blowfish, so we can use that to our advantage. In particular, whereas Blowfish
72 * fixed length whereas Blowfish keys are not of a fixed length.
76 * being called. The second one (expand0state) is more similar to Blowfish's _setupKey()
82 * regular Blowfish vs the 128 times it's called --per round-- with bcrypt.
86 * Altho there's a lot of Blowfish code that bcrypt doesn't re-use, bcrypt does re-use the
100 * $blowfish = new \phpseclib3\Crypt\Blowfish('ctr');
122 * Pure-PHP implementation of Blowfish.
127 class Blowfish extends BlockCipher