libsignal
Home to the Signal Protocol and other cryptographic primitives
...Written primarily in Rust with bindings and APIs surfaced for Java, Swift, and TypeScript, this library encapsulates critical algorithms like the Double Ratchet, prekey mechanisms, secure key storage, and zero-knowledge group primitives, along with additional utilities for media handling and device key transfer. libsignal abstracts complex cryptographic constructions into reusable components that client applications can adopt to ensure forward secrecy, authentication, and integrity without re-implementing core security logic. ...