All Projects → medooze → sframe

medooze / sframe

Licence: MIT license
SFrame.js pure javascript implementation based on webcrypto

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].