mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-24 00:36:16 -04:00
Improved PGP keygen test
This commit is contained in:
parent
339c741a2c
commit
af98feff51
1 changed files with 1 additions and 1 deletions
|
@ -588,7 +588,7 @@ Password: 034148`;
|
||||||
const result = await chef.generatePGPKeyPair("Back To the Drawing Board", {
|
const result = await chef.generatePGPKeyPair("Back To the Drawing Board", {
|
||||||
keyType: "ECC-256",
|
keyType: "ECC-256",
|
||||||
});
|
});
|
||||||
assert.strictEqual(result.toString().length, 2560);
|
assert.strictEqual(result.toString().substr(0, 37), "-----BEGIN PGP PRIVATE KEY BLOCK-----");
|
||||||
}),
|
}),
|
||||||
|
|
||||||
it("Generate UUID", () => {
|
it("Generate UUID", () => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue