Skip to content

General log writer/reader in rust, built with AES/ECDH/Zlib where all logs can be encrypted and compressed. Based on hll's glog.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

hlhr202/hll-glog-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hll-glog-rs (wip)

Rust implementation of log reader for hll-glog

Progress

  • File V4 Reader
    • File Header
    • AES
    • Zlib
  • File V4 Writer (just for testing)
    • File Header
    • AES
    • Zlib
  • FileV3
  • API

Example

  • generate key pairs, server key will be written to .env.local
cargo run --example gen_key
  • write test.glog
# run under project root foler
cargo run --example write_example
  • read test.glog
# run under project root foler
cargo run --example read_example
  • http read buffer from multipart
# run both under project root foler
cargo run --example http
curl --form file='@test.glog' http://localhost:8080

Acknowledgements

Based on Java implementation hll-wp-glog/Misc/Reader

About

General log writer/reader in rust, built with AES/ECDH/Zlib where all logs can be encrypted and compressed. Based on hll's glog.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages