1
0
mirror of https://github.com/fluencelabs/js-libp2p-noise synced 2025-05-10 10:37:17 +00:00

18 lines
316 B
TypeScript
Raw Normal View History

2019-11-08 14:03:34 +01:00
import { bytes } from "./types/basic";
import { Connection } from "./types/libp2p";
export class Noise {
constructor(privateKey: bytes, staticNoiseKey?: bytes, earlyData?: bytes) {
}
public tag() {
return '/noise';
}
public encrypt(InsecureConnection: Connection, remotePublicKey: bytes) {
}
}