Fixed RSA generation and added digest option to verify
This commit is contained in:
4 files changed
+27
-6
No files matched your search
@@ -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,
|
||||
};
|
||||
Reference in new issue
Block a user