mirror of
https://github.com/gchq/CyberChef.git
synced 2025-06-14 10:14:53 -04:00
Formatting
This commit is contained in:
parent
e3a4f4cc85
commit
5f185a3648
1 changed files with 1 additions and 13 deletions
|
@ -14,18 +14,6 @@ const outputObject = JSON.stringify({
|
||||||
iat: 1
|
iat: 1
|
||||||
}, null, 4);
|
}, null, 4);
|
||||||
|
|
||||||
const outputWithHeaderObject = JSON.stringify({
|
|
||||||
header: {
|
|
||||||
alg: "algorithm",
|
|
||||||
typ: "algo"
|
|
||||||
},
|
|
||||||
payload: {
|
|
||||||
String: "SomeString",
|
|
||||||
Number: 42,
|
|
||||||
iat: 1
|
|
||||||
}
|
|
||||||
}, null, 4);
|
|
||||||
|
|
||||||
TestRegister.addTests([
|
TestRegister.addTests([
|
||||||
{
|
{
|
||||||
name: "JWT Decode: HS",
|
name: "JWT Decode: HS",
|
||||||
|
@ -60,7 +48,7 @@ TestRegister.addTests([
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "JWT Decode: HS",
|
name: "JWT Decode: HS",
|
||||||
input: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJTdHJpbmciOiJTb21lU3RyaW5nIiwiTnVtYmVyIjo0MiwiaWF0IjoxfQ.0ha6-j4FwvEIKPVZ-hf3S_R9Hy_UtXzq4dnedXcUrXk",
|
input: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJTdHJpbmciOiJTb21lU3RyaW5nIiwiTnVtYmVyIjo0MiwiaWF0IjoxfQ.0ha6-j4FwvEIKPVZ-hf3S_R9Hy_UtXzq4dnedXcUrXk",
|
||||||
expectedOutput: JSON.stringify({
|
expectedOutput: JSON.stringify({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue