@jitsi/megolm
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

megolm.js

Megolm.js is an implementation of the megolm cryptographic ratchet in JavaScript.

Overview and motivation

Megolm is the current cryptographic ratchet used by libolm for group chat sessions.

Its security features and limitations can be found here.

This library exists because we wanted to use a ratchet with the same properties as megolm, but libolm currently ties its use to group chat messages. There are other use cases, however.

This implementation is a port of the C implementation without too many bells and whistles in order to make checking its correctness easier.

API

See API.md.

Extensions

The import and export methods are extensions to the original implementation, inspired by libolm's session sharing.

Acknowledgements

The Matrix team, for writing libolm and megolm in the first place.

Readme

Keywords

none

Package Sidebar

Install

npm i @jitsi/megolm

Weekly Downloads

2

Version

0.1.4

License

Apache-2.0

Unpacked Size

44.5 kB

Total Files

9

Last publish

Collaborators

  • calinteodor
  • damencho
  • mihhu
  • andrei.gavrilescu
  • hristoterezov
  • gpolitis
  • yanas
  • jitsiorg
  • saghul
  • jallamsetty