loro/crates/loro-e2ee
Zixuan Chen 1e736df133
Refactor: rm legacy code (#97)
* refactor: rm legacy code

* chore: rm dead code

* refactor: mv refactored files outside

* refactor: rename files & methods

* chore: rm unused deps

* fix: compact bytes err

* chore: fix ci
2023-07-31 11:49:55 +08:00
..
src Refactor: rm legacy code (#97) 2023-07-31 11:49:55 +08:00
Cargo.toml refactor: move loro-core to loro-internal 2023-01-16 20:08:43 +08:00
README.md refactor: move loro-core to loro-internal 2023-01-16 20:08:43 +08:00

Loro Framework

The layers of loro:

  • Loro Framework(this crate): It is agnostic to the op content. Thus intermediary nodes can work on this layer. It can handle apply updates, encode updates, hash and authentication.
    • The change content is byte stream in this layer (may be encrypted).
    • If it's encrypted, the public key is accessible for the intermediary nodes
  • Encoding & Decoding layer(this crate). This layer also handle encryption and decryption
  • CRDT Framework(loro-internal crate): It is agnostic to the specific CRDT algorithms. We can register different CRDT algorithm upon it.
  • Specific CRDT Algorithm(loro-text, loro-array crate).