Skip to content

Commit

Permalink
more doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Evanfeenstra committed Oct 16, 2023
1 parent 347abcd commit 0af5ec6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sphinx-ffi/onion.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
### sign a timestamp (to connect to MQTT)

**`sign_msg(seed: String, time: String)`**

- seed: 32-byte hex
- time: 13-digit timestamp (milliseconds)
- returns hex-encoded signature

### onion messages

**`create_onion(seed: String, time: String, hops: String, payload: Bytes)`**
Expand Down

0 comments on commit 0af5ec6

Please sign in to comment.