mirror of https://github.com/gchq/CyberChef.git
39 lines
979 B
JavaScript
Executable File
39 lines
979 B
JavaScript
Executable File
/**
|
|
* BitwiseOp tests
|
|
*
|
|
* @author n1474335 [n1474335@gmail.com]
|
|
* @copyright Crown Copyright 2017
|
|
* @license Apache-2.0
|
|
*/
|
|
import TestRegister from "../TestRegister";
|
|
|
|
TestRegister.addTests([
|
|
{
|
|
name: "BLAKE2s: 256 - Hello World",
|
|
input: "Hello World",
|
|
expectedOutput: "7706af019148849e516f95ba630307a2018bb7bf03803eca5ed7ed2c3c013513",
|
|
recipeConfig: [
|
|
{ "op": "BLAKE2s",
|
|
"args": ["256"] }
|
|
]
|
|
},
|
|
{
|
|
name: "BLAKE2s: 160 - Hello World",
|
|
input: "Hello World",
|
|
expectedOutput: "0e4fcfc2ee0097ac1d72d70b595a39e09a3c7c7e",
|
|
recipeConfig: [
|
|
{ "op": "BLAKE2s",
|
|
"args": ["160"] }
|
|
]
|
|
},
|
|
{
|
|
name: "BLAKE2s: 128 - Hello World",
|
|
input: "Hello World",
|
|
expectedOutput: "9964ee6f36126626bf864363edfa96f6",
|
|
recipeConfig: [
|
|
{ "op": "BLAKE2s",
|
|
"args": ["128"] }
|
|
]
|
|
}
|
|
]);
|