Add RSA Encrypt Operation

This commit is contained in:
Matt 2020-04-07 13:31:17 +01:00
parent 1c0ecd29c2
commit e7b5c0e37c
No known key found for this signature in database
GPG key ID: 2DD462FE98BF38C2
3 changed files with 85 additions and 3 deletions

View file

@ -6,7 +6,6 @@
import Operation from "../Operation.mjs";
import OperationError from "../errors/OperationError.mjs";
import Utils from "../Utils.mjs";
import forge from "node-forge/dist/forge.min.js";
import { MD_ALGORITHMS } from "../lib/RSA.mjs";
@ -47,7 +46,7 @@ class RSAVerify extends Operation {
}
/**
* @param {byteArray} input
* @param {string} input
* @param {Object[]} args
* @returns {string}
*/