tweetnacl-es6
Version:
Port of TweetNaCl cryptographic library to JavaScript es6
34 lines (33 loc) • 1.41 kB
JavaScript
export default [
{
m: new Uint8Array([72,101,108,108,111,32,119,111,114,108,100,33]),
k: new Uint8Array([116, 104, 105, 115, 32, 105, 115, 32, 51, 50, 45, 98, 121, 116, 101,
32, 107, 101, 121, 32, 102, 111, 114, 32, 80, 111, 108, 121, 49, 51,
48, 53]),
out: new Uint8Array([166,247,69,0,143,129,201,22,162,13,204,116,238,242,178,240]),
},
{
m: new Uint8Array(32),
k: new Uint8Array([116, 104, 105, 115, 32, 105, 115, 32, 51, 50, 45, 98, 121, 116, 101,
32, 107, 101, 121, 32, 102, 111, 114, 32, 80, 111, 108, 121, 49, 51,
48, 53]),
out: new Uint8Array([73,236,120,9,14,72,30,198,194,107,51,185,28,204,3,7])
},
{
m: new Uint8Array(2007),
k: new Uint8Array([116, 104, 105, 115, 32, 105, 115, 32, 51, 50, 45, 98, 121, 116, 101,
32, 107, 101, 121, 32, 102, 111, 114, 32, 80, 111, 108, 121, 49, 51,
48, 53]),
out: new Uint8Array([218,132,188,171,2,103,108,56,205,176,21,96,66,116,194,170])
},
{
m: new Uint8Array(2007),
k: new Uint8Array(32),
out: new Uint8Array(16)
},
{
m: new Uint8Array([255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]),
k: new Uint8Array([2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]),
out: new Uint8Array( [3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])
}
];