silversixpence-crypto / dapol

DAPOL+ Proof of Liabilities using Bulletproofs and Sparse Merkle trees
MIT License
8 stars 2 forks source link

Be able to accept byte input for Secret & Salt #146

Open Stentonian opened 7 months ago

Stentonian commented 7 months ago

Currently only strings are supported, but we should be able to accept raw bytes.

CLI would need to have some changes. The config & secrets file should be able to have a bytes option. DapolConfigBuilder should also have a bytes option.

Maybe we can get away with simply doing literals, like "\x52" https://doc.rust-lang.org/reference/tokens.html#byte-literals