The reason why is that a byte is a value 0-255. Using 0 makes this a bit ambiguous. Perhaps we should make it abundantly clear by choosing either 256 or -1.
-1 is a bit simpler to see/write when creating witness functions in Rust. My slight preference would be for that.
The reason why is that a byte is a value
0-255
. Using0
makes this a bit ambiguous. Perhaps we should make it abundantly clear by choosing either256
or-1
.-1
is a bit simpler to see/write when creating witness functions in Rust. My slight preference would be for that.