UNPKG
ara-crypto
Version:
latest (0.9.4)
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.5
0.8.4
0.8.3
0.8.2
Cryptographic functions used in Ara modules
github.com/AraBlocks/ara-crypto
AraBlocks/ara-crypto
ara-crypto
/
test
/
sign.js
10 lines
(8 loc)
•
225 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
const
{ sign } =
require
(
'../sign'
)
const
ed25519 =
require
(
'../ed25519'
)
const
test =
require
(
'./helpers/runner'
) test.
cb
(
'sign()'
,
(
t
) =>
{ t.
true
(
'function'
===
typeof
sign) t.
true
(sign === ed25519.
sign
) t.
end
() })