From a3ca80c43367c5fc925bf875d281ab4efd0644f8 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Tue, 18 Jun 2024 21:39:03 -0500 Subject: [PATCH] Blowfish: use little endian byte order vs machine byte order --- phpseclib/Crypt/Blowfish.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Crypt/Blowfish.php b/phpseclib/Crypt/Blowfish.php index a64f4ef5..89b0a9b0 100644 --- a/phpseclib/Crypt/Blowfish.php +++ b/phpseclib/Crypt/Blowfish.php @@ -484,7 +484,7 @@ class Blowfish extends BlockCipher } } - return pack('L*', ...$cdata); + return pack('V*', ...$cdata); } /**