$chacha20$ (all lower case) per @magnumripper

This commit is contained in:
Royce Williams
2017-06-06 04:51:32 -08:00
parent 827afc407b
commit b9d68d2377
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8584,7 +8584,7 @@ END_CODE
my $enc_offset = substr($enc, $offset, 8);
$hash_buf = $enc_offset;
$tmp_hash = sprintf ("\$ChaCha20\$\*%s\*%d\*%s\*%s\*%s", $counter, $offset, $iv, unpack("H*", substr($plaintext, $offset, 8)), unpack("H*", $enc_offset));
$tmp_hash = sprintf ("\$chacha20\$\*%s\*%d\*%s\*%s\*%s", $counter, $offset, $iv, unpack("H*", substr($plaintext, $offset, 8)), unpack("H*", $enc_offset));
}
elsif ($mode == 15600)
{