mirror of
https://github.com/gchq/CyberChef
synced 2025-12-30 07:03:27 +00:00
Add operation "Generate PGP Key Pair"
Have not yet found a nice way of working with the kbpgp API as it is very callback heavy. Probably just my rusty javascript.
This commit is contained in:
20
src/core/config/modules/PGP.js
Normal file
20
src/core/config/modules/PGP.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import PGP from "../../operations/PGP.js";
|
||||
|
||||
|
||||
/**
|
||||
* PGP module.
|
||||
*
|
||||
* Libraries:
|
||||
* - kbpgp
|
||||
*
|
||||
* @author tlwr [toby@toby.codes]
|
||||
* @copyright Crown Copyright 2017
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
let OpModules = typeof self === "undefined" ? {} : self.OpModules || {};
|
||||
|
||||
OpModules.PGP = {
|
||||
"Generate PGP Key Pair": PGP.runGenerateKeyPair,
|
||||
};
|
||||
|
||||
export default OpModules;
|
||||
Reference in New Issue
Block a user