mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-25 01:06:16 -04:00
Tidied up Streebog operation, splitting out GOST hash into a separate op.
This commit is contained in:
parent
666c447e36
commit
99f4091c1a
11 changed files with 33 additions and 77 deletions
|
@ -1192,8 +1192,8 @@ function GostDigest(algorithm) // <editor-fold defaultstate="collapsed">
|
|||
// Define chiper algorithm
|
||||
this.sBox = (algorithm.sBox || (algorithm.procreator === 'SC' ? 'D-SC' : 'D-A')).toUpperCase();
|
||||
|
||||
if (!GostCipher)
|
||||
GostCipher = root.GostCipher;
|
||||
//if (!GostCipher)
|
||||
// GostCipher = root.GostCipher;
|
||||
if (!GostCipher)
|
||||
throw new NotSupportedError('Object GostCipher not found');
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue