#1 Keccak 384 Hash Fix

Öppen
Yorgyetson wants to merge 1 commits from Yorgyetson/master into desktopd/master
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      SHA3.php

+ 1 - 1
SHA3.php

@@ -48,7 +48,7 @@ class SHA3 {
 		switch ($type) {
 			case self::SHA3_224: return new self (1152, 448, 0x06, 28);
 			case self::SHA3_256: return new self (1088, 512, 0x06, 32);
-			case self::SHA3_384: return new self (832, 768, 0x06, 48);
+			case self::SHA3_384: return new self (832, 768, 0x01, 48);
 			case self::SHA3_512: return new self (576, 1024, 0x06, 64);
 			case self::SHAKE128: return new self (1344, 256, 0x1f);
 			case self::SHAKE256: return new self (1088, 512, 0x1f);