Added Output Encoding Option

This commit is contained in:
h345983745 2019-03-26 21:12:03 +00:00
parent 908043fb7f
commit b116b8ba1e
4 changed files with 48 additions and 16 deletions

View file

@ -2,7 +2,7 @@
* BitwiseOp tests
*
* @author h345983745
* @copyright Crown Copyright 2017
* @copyright Crown Copyright 2019
* @license Apache-2.0
*/
import TestRegister from "../TestRegister";
@ -14,7 +14,7 @@ TestRegister.addTests([
expectedOutput: "7706af019148849e516f95ba630307a2018bb7bf03803eca5ed7ed2c3c013513",
recipeConfig: [
{ "op": "BLAKE2s",
"args": ["256"] }
"args": ["256", "Hex"] }
]
},
{
@ -23,7 +23,7 @@ TestRegister.addTests([
expectedOutput: "0e4fcfc2ee0097ac1d72d70b595a39e09a3c7c7e",
recipeConfig: [
{ "op": "BLAKE2s",
"args": ["160"] }
"args": ["160", "Hex"] }
]
},
{
@ -32,7 +32,7 @@ TestRegister.addTests([
expectedOutput: "9964ee6f36126626bf864363edfa96f6",
recipeConfig: [
{ "op": "BLAKE2s",
"args": ["128"] }
"args": ["128", "Hex"] }
]
}
]);