@always-coder/shared

v1.1.0

Published

Shared types, crypto, and protocol definitions for Always Coder

Readme

@always-coder/shared

Shared types, crypto, and protocol definitions for Always Coder.

Installation

npm install @always-coder/shared

Features

  • E2E encryption using X25519 key exchange and XSalsa20-Poly1305
  • WebSocket message protocol types
  • Shared TypeScript types

Usage

import { generateKeyPair, encrypt, decrypt } from '@always-coder/shared/crypto';
import { MessageType } from '@always-coder/shared/protocol';

License

MIT