Proving data streams? #982
Answered
by
ivokub
Scratch-net
asked this question in
Q&A
-
I see from the code that it's seems to be possible to prove dynamically sized data (compression for example). If it's true, what are design principles of such circuit and code overall? Let's say I have a hash or a cipher circuit and I'd like to be able to prove that I know a hash or a key to arbitrary sized data. Is it possible? Because that would definitely affect circuit size |
Beta Was this translation helpful? Give feedback.
Answered by
ivokub
Jan 8, 2024
Replies: 1 comment 2 replies
-
It is not possible. You would have to allocate the circuit for the possible maximum input size and then zero-pad the witness if the input witness is smaller. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Scratch-net
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is not possible. You would have to allocate the circuit for the possible maximum input size and then zero-pad the witness if the input witness is smaller.