mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 07:21:02 -04:00
WIP inital recommit of PGP operations
This commit is contained in:
parent
1bbc73ec50
commit
728d9066fe
8 changed files with 1534 additions and 51 deletions
36
src/core/config/modules/PGP.js
Normal file
36
src/core/config/modules/PGP.js
Normal file
|
@ -0,0 +1,36 @@
|
|||
import PGP from "../../operations/PGP.js";
|
||||
|
||||
/**
|
||||
* PGP module.
|
||||
*
|
||||
* Libraries:
|
||||
* - openpgp
|
||||
* - crypto-js
|
||||
*
|
||||
* @author tlwr [toby@toby.codes]
|
||||
* @copyright Crown Copyright 2017
|
||||
* @license Apache-2.0
|
||||
*/
|
||||
let OpModules = typeof self === "undefined" ? {} : self.OpModules || {};
|
||||
|
||||
OpModules.PGP = {
|
||||
"PGP Encrypt": PGP.runEncrypt,
|
||||
"PGP Decrypt": PGP.runDecrypt,
|
||||
|
||||
"PGP Sign": PGP.runSign,
|
||||
"PGP Verify": PGP.runVerify,
|
||||
|
||||
"Sign PGP Detached": PGP.runSignDetached,
|
||||
"Verify PGP Detached": PGP.runVerifyDetached,
|
||||
|
||||
"Sign PGP Cleartext": PGP.runSignCleartext,
|
||||
"Verify PGP Cleartext": PGP.runVerifyCleartext,
|
||||
|
||||
"Generate PGP Key Pair": PGP.runGenKeyPair,
|
||||
"Detach PGP Cleartext": PGP.runVerifyCleartext,
|
||||
|
||||
"Add PGP ASCII Armour": PGP.runAddArmour,
|
||||
"Remove PGP ASCII Armour": PGP.runAddArmour,
|
||||
};
|
||||
|
||||
export default OpModules;
|
Loading…
Add table
Add a link
Reference in a new issue