[DiscordArchive] What extra 0 byte?
[DiscordArchive] What extra 0 byte?
![[Image: image.png?ex=690bff1c&is=690aad9c&hm=52c...0ac828ec1&]](https://cdn.discordapp.com/attachments/974733680192913478/1215295745037439016/image.png?ex=690bff1c&is=690aad9c&hm=52c802cb7efb69303922467b30f52a3be5a606ca9a9d320e8c82b1b0ac828ec1&)
Archived author: MaxtorCoder • Posted: 2024-03-07T13:51:24.786000+00:00
Original source
Like the fail is at ourM
![[Image: image.png?ex=690bff1c&is=690aad9c&hm=52c...0ac828ec1&]](https://cdn.discordapp.com/attachments/974733680192913478/1215295745037439016/image.png?ex=690bff1c&is=690aad9c&hm=52c802cb7efb69303922467b30f52a3be5a606ca9a9d320e8c82b1b0ac828ec1&)
Archived author: MaxtorCoder • Posted: 2024-03-07T13:51:47.644000+00:00
Original source
And it even fails when the bytelengths are all 256
Archived author: Tea • Posted: 2024-03-07T13:54:07.776000+00:00
Original source
hmm nope, no idea then
Archived author: MaxtorCoder • Posted: 2024-03-07T13:54:23.636000+00:00
Original source
I simply have no idea either <:KEKW:946712477557727262>
Archived author: MaxtorCoder • Posted: 2024-03-07T13:55:30.489000+00:00
Original source
Could it be how DoCalculateEvidence is in C#?
Archived author: MaxtorCoder • Posted: 2024-03-07T13:55:35.247000+00:00
Original source
```cs
public BigInteger DoCalculateEvidenceHash256(params BigInteger[] bns)
{
for (var i = 0; i < bns.Length; ++i)
{
var bytes = GetBrokenEvidenceVector(bns[i]);
if (i == bns.Length - 1)
{
Sha256.TransformFinalBlock(bytes, 0, bytes.Length);
break;
}
Sha256.TransformBlock(bytes, 0, bytes.Length, null, 0);
}
return new(Sha256.Hash, true, true);
}
```
Archived author: Tea • Posted: 2024-03-07T14:01:23.679000+00:00
Original source
doubt, maybe its b random generation? can it be negative? (no idea about crypto in c#) its getting to a point where one would need to hardcode variable components and compare where it goes to shit
Archived author: MaxtorCoder • Posted: 2024-03-07T14:03:43.414000+00:00
Original source
PrivateB then?
Archived author: MaxtorCoder • Posted: 2024-03-07T14:04:59.032000+00:00
Original source
Both `b` and `B` are 1
Archived author: MaxtorCoder • Posted: 2024-03-07T14:05:05.913000+00:00
Original source
As in, their `Sign`