8 releases

0.9.17 Jan 23, 2025
0.9.16 Jan 11, 2025
0.9.10 Sep 28, 2024
0.9.7 Aug 28, 2024
0.9.1 Apr 11, 2024

#513 in Cryptography

Download history 1/week @ 2024-10-20 10/week @ 2024-12-08 61/week @ 2025-01-05 61/week @ 2025-01-12 99/week @ 2025-01-19 16/week @ 2025-01-26 5/week @ 2025-02-02

242 downloads per month

BSD-3-Clause

435KB
10K SLoC

The library that underlies most things lockbook.

All lockbook clients (iOS, linux, etc) rely on this library to perform cryptography, offline edits, and reconciliation of data between our server, other clients, and other devices.

Our server relies on this library for checking signatures, and validating whether tree modifications are valid / authorized.

  • Most clients / integrators will be interested in the functions attached to the [Lb] struct. See the [service] module for evolving this functionality.

  • The [model] module contains the specification of our data structures and contracts between components.

  • The [logic] module contains our important algorithms and routines.

  • The "blocking" feature flag enables the [blocking] module and and the corresponding blocking Lb variant.

  • The "ffi" feature flag enables blocking as well as an API for C ffi clients

  • The "jni" feature flag enables blocking as well as an API for JVM clients

Dependencies

~26–41MB
~728K SLoC