assertion message
This commit is contained in:
parent
102f2bd0c9
commit
1c8f135d9c
1 changed files with 2 additions and 2 deletions
|
@ -37,8 +37,8 @@ function implShamirsTrick(P, k, Q, l) {
|
|||
}
|
||||
|
||||
function deterministicGenerateK(hash, secret) {
|
||||
assert(Array.isArray(hash))
|
||||
assert(Array.isArray(secret))
|
||||
assert(Array.isArray(hash), 'hash must be array')
|
||||
assert(Array.isArray(secret), 'secret must be array')
|
||||
|
||||
var vArr = []
|
||||
var kArr = []
|
||||
|
|
Loading…
Reference in a new issue