Merge branch 'rsa' of https://github.com/mattnotmitt/CyberChef into mattnotmitt-rsa

This commit is contained in:
n1474335 2021-02-01 17:30:02 +00:00
commit 99eb1cced5
12 changed files with 806 additions and 25 deletions

9
src/core/lib/RSA.mjs Normal file
View 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,
};