mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-26 01:36:17 -04:00
Add Argon2 hash operation
This commit is contained in:
parent
2efd075803
commit
2fab1028c5
6 changed files with 126 additions and 5 deletions
|
@ -133,6 +133,11 @@ Tiger-128`;
|
|||
|
||||
}),
|
||||
|
||||
it("argon2", async () => {
|
||||
const result = await chef.argon2("argon2password");
|
||||
assert.strictEqual(result.toString(), "$argon2i$v=19$m=4096,t=3,p=1$c29tZXNhbHQ$s43my9eBljQADuF/LWCG8vGqwAJzOorKQ0Yog8jFvbw");
|
||||
}),
|
||||
|
||||
it("Bcrypt", async () => {
|
||||
const result = await chef.bcrypt("Put a Sock In It");
|
||||
const strResult = result.toString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue