Lines Matching refs:in
28 * (the number of blocks in the plaintext) times.
53 * $in = str_repeat('a', 1024 * 1024); PHP's memory utilization jumps up by ~1MB. After doing
54 * $blocks = str_split($in, 4); it jumps up by an additional ~16MB. After
56 * ~90MB, yielding a 106x increase in memory usage. Consequently, it bcrypt calls a different
70 * supports variable length keys, in bcrypt, the initial "key" is the sha512 hash of the
84 * # blowfish + bcrypt in the same class
343 * The Key Length (in bytes)
344 * {@internal The max value is 256 / 8 = 32, the min value is 128 / 8 = 16. Exists in conjunction with $Nk
346 * derive this from $key_length or vice versa, but that'd mean we'd have to do multiple shift operations, so in lieu
365 throw new \InvalidArgumentException('Block ciphers cannot be ran in stream mode');
404 // in theory openssl_get_cipher_methods() should catch this but, on GitHub Actions, at least, it does not
439 // unpack binary string in unsigned chars
707 * @param string $in
710 protected function encryptBlock($in)
719 $in = unpack('N*', $in);
720 $l = $in[1];
721 $r = $in[2];
806 * @param string $in
809 protected function decryptBlock($in)
817 $in = unpack('N*', $in);
818 $l = $in[1];
819 $r = $in[2];
857 $in = unpack("N*", $in);
858 $l = $in[1];
859 $r = $in[2];
875 $in = pack("N*",
882 $in = unpack("N*", $in);
883 $l = $in[1];
884 $r = $in[2];
902 $in = pack("N*",