callwoola/secret

simple secret message solution。

0.1.0 2017-04-17 06:00 UTC

This package is not auto-updated.

Last update: 2024-11-15 20:12:56 UTC


README

work flow

  • server generate a public key give to client
  • client user PBK encode data
[
    "data"=> ...
    "client_public_key"=> (client use that PVK generate's PBK)
    "app_id"=> ...
    "type"=> [delay|immediately]
]
  • server get data and decode that get data
  • check type
    • delay -> push to queue
    • immediately -> response data to client