libsignal-protocol-javascript VS libsignal-protocol-c

Compare libsignal-protocol-javascript vs libsignal-protocol-c and see what are their differences.


This library is no longer maintained. libsignal-protocol-javascript was an implementation of the Signal Protocol, written in JavaScript. It has been replaced by libsignal-client’s typesafe TypeScript API. (by signalapp)


Signal Protocol C Library (by signalapp)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
libsignal-protocol-javascript libsignal-protocol-c
3 4
1,877 1,348
- -
1.3 0.0
over 2 years ago over 3 years ago
JavaScript C
GNU General Public License v3.0 only GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of libsignal-protocol-javascript. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-02-07.


Posts with mentions or reviews of libsignal-protocol-c. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-01.
  • I wonder why Signal’s download size is so much larger than the competition? Intuition says it would be smaller
    1 project | /r/signal | 8 Dec 2021
    Signal wrote their own open source protocol, libsignal, to provide end to end encryption; or as they put it "a ratcheting forward secrecy protocol that works in synchronous and asynchronous messaging environments." Source I'd wager good money a chunk of that space is for said library and dependencies PLUS the regular rigamarole for an Android app.
  • Session Encrypted Messenger
    4 projects | | 1 Oct 2021
    The whitepaper at [1] is more impressive than I expected it to be, not for what is built today (which on a quick read appears to be rather unexciting), but for the class of attacks recognised as unsolved, and identified as requiring future work.

    Improvements identified include:

    1) Encrypted messages should have a constant size (padded). Note that the Signal protocol used by Session currently uses variable length messages[2].

    2) Encrypted messages should be sent as noise by clients through the onion network and back to themselves at random intervals frequent enough that messages to/from other parties are statistically indistinguishable to Eve from the noise generated.

    3) Intermediate nodes in the onion network should hold and delay encrypted messages so they are adequately mixed before being sent forward. This makes it statistically difficult for Eve to match up a message entering a node and a message leaving a node. Ideally messages would be mixed across enough nodes of the onion network that

    4) Proof of work should be replaced with a better technique for preventing degradation of service or spam attacks. The paper quite rightly identifies that proof of work would favour Eve who has setup a data center filled with custom ASICs solving proof of work problems, rather than favouring Alice or Bob with an energy efficient mobile phone SoC. CAPTCHAs are identified as a possible future solution to this class of attacks.

    I doubt those improvements would have much application outside of labs and experiments though. Unless a significant part of the global economy surprisingly becomes dependent on a traffic analysis resistant anonymising protocol, it is too easy to just block such protocols similar to what China does with its Great Firewall.



  • Are There Any Tutorials On How To Use The Signal
    3 projects | /r/signal | 24 Jan 2021
    Signal protocol library for C/C++.
  • Millions Flock to Telegram and Signal as Fears Grow Over Big Tech
    1 project | /r/technology | 14 Jan 2021

What are some alternatives?

When comparing libsignal-protocol-javascript and libsignal-protocol-c you can also consider the following projects:

Signal-Server - Server supporting the Signal Private Messenger applications on Android, Desktop, and iOS

session-android - A private messenger for Android.

signal-cli - signal-cli provides an unofficial commandline, JSON-RPC and dbus interface for the Signal messenger.

wire-server - 🇪🇺 Wire back-end services

signal-bot - A simple bot framework for Signal

libsignal-protocol-java - Signal Protocol library for Java/Android