mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 15:26:16 -04:00
Fixed RSA generation and added digest option to verify
This commit is contained in:
parent
73864e0809
commit
e0f000b913
4 changed files with 27 additions and 6 deletions
9
src/core/lib/RSA.mjs
Normal file
9
src/core/lib/RSA.mjs
Normal file
|
@ -0,0 +1,9 @@
|
|||
import forge from "node-forge/dist/forge.min.js";
|
||||
|
||||
export const MD_ALGORITHMS = {
|
||||
"SHA-1": forge.md.sha1,
|
||||
"MD5": forge.md.md5,
|
||||
"SHA-256": forge.md.sha256,
|
||||
"SHA-384": forge.md.sha384,
|
||||
"SHA-512": forge.md.sha512,
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue