Sframe
SFrame.js pure javascript implementation based on webcrypto
Install / Use
/learn @medooze/SframeREADME
SFrame.js
Pure javascript library implementing the SFrame end to end encryption based on webcrypto.
Differences from sframe current draft
- keyIds are used as senderIds.
- IV contains the keyId and the frame counter to ensure uniquenes when using same encryption key for all participants.
- keysIds are limited to 5 bytes long to avoid javascirpt signed/unsigned issues.
- Option to skip the vp8 payload header and send it in clear.
- Ed25519 is not used for sign/verify as it is not available in webcrypto, ECDSA with P-512 is used instead.
Keying
This library does not provide any keying mechanism, but it must be provide by the application instead.
Unlike the sframe draft, this library requires each participant to have a numeric senderId that will be used as keyId in the sframe header.
API
Check api.md
Example
Check the example directory for a loopback example implementation.
License
MIT
Related Skills
node-connect
349.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
