test vectors for sodium-friends, to compare other implementations with the reference implementation. (including future versions of the reference implementation)
npm install sodium-vectorstest vectors for sodium-friends,
to compare other implementations with the reference implementation.
(including future versions of the reference implementation)
see also [https://github.com/dominictarr/chloride-test)
just npm install -D sodium-vectors and add this test script.
`` js``
//test.js
require('sodium-vectors')(targetImplementation)
it will run as a tape test!
MIT