Files
paseo/packages/relay/src/e2ee.ts
T

16 lines
371 B
TypeScript

export {
createClientChannel,
createDaemonChannel,
EncryptedChannel,
} from "./encrypted-channel.js";
export type { Transport, EncryptedChannelEvents } from "./encrypted-channel.js";
export {
generateKeyPair,
exportPublicKey,
importPublicKey,
exportSecretKey,
importSecretKey,
} from "./crypto.js";
export type { KeyPair, SharedKey } from "./crypto.js";