mirror of
https://github.com/waku-org/js-waku.git
synced 2025-01-09 12:06:04 +00:00
37 lines
565 B
TypeScript
37 lines
565 B
TypeScript
/**
|
|
* Some constants for test purposes.
|
|
*
|
|
* @hidden
|
|
* @module
|
|
*/
|
|
|
|
export const NOISE_KEY_1 = new Uint8Array(
|
|
((): number[] => {
|
|
const b = [];
|
|
for (let i = 0; i < 32; i++) {
|
|
b.push(1);
|
|
}
|
|
return b;
|
|
})()
|
|
);
|
|
|
|
export const NOISE_KEY_2 = new Uint8Array(
|
|
((): number[] => {
|
|
const b = [];
|
|
for (let i = 0; i < 32; i++) {
|
|
b.push(2);
|
|
}
|
|
return b;
|
|
})()
|
|
);
|
|
|
|
export const NOISE_KEY_3 = new Uint8Array(
|
|
((): number[] => {
|
|
const b = [];
|
|
for (let i = 0; i < 32; i++) {
|
|
b.push(3);
|
|
}
|
|
return b;
|
|
})()
|
|
);
|