stakwork / sphinx-rs

Rust crates for Sphinx Chat
0 stars 0 forks source link

better types in lss message #25

Closed Evanfeenstra closed 11 months ago

Evanfeenstra commented 11 months ago

server_hmac should be Option<[u8; 32]>. Because an hmac is not created if the mutations are empty, so it could be None (right now if there is no hmac, then its a zero-length array, but that is confusing and was a mistake on my part)

client_hmac should be [u8; 32]

auth_token should be [u8; 32]