mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-24 00:36:16 -04:00
fix: use UUID v4 by default, for backward compatibility
This commit is contained in:
parent
de5b03f854
commit
2cf3642493
2 changed files with 9 additions and 0 deletions
|
@ -593,6 +593,14 @@ Password: 282760`;
|
|||
assert.strictEqual(result, expected);
|
||||
})),
|
||||
|
||||
it("Generate UUID using defaults", () => {
|
||||
const uuid = chef.generateUUID();
|
||||
assert.ok(uuid);
|
||||
|
||||
const analysis = chef.analyseUUID(uuid).toString();
|
||||
assert.strictEqual(analysis, "UUID version: 4");
|
||||
}),
|
||||
|
||||
it("Gzip, Gunzip", () => {
|
||||
assert.strictEqual(chef.gunzip(chef.gzip("Down To The Wire")).toString(), "Down To The Wire");
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue