mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-04-25 15:12:32 +00:00
15 lines
405 B
TypeScript
15 lines
405 B
TypeScript
import { expect } from "chai";
|
|
import DuplexPair from 'it-pair/duplex';
|
|
|
|
import { Noise } from "../src";
|
|
import {generateEd25519Keys} from "./utils";
|
|
|
|
describe("Noise", () => {
|
|
it("should encrypt outgoing data using secureOutbound", async() => {
|
|
// const libp2pKeys = await generateEd25519Keys();
|
|
//
|
|
// const noise = new Noise(libp2pKeys._key);
|
|
// await noise.secureOutbound();
|
|
})
|
|
});
|