Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong ByteArray representation for BitInteger(0) #280

Closed
TemMax opened this issue Feb 5, 2024 · 1 comment · Fixed by #281
Closed

Wrong ByteArray representation for BitInteger(0) #280

TemMax opened this issue Feb 5, 2024 · 1 comment · Fixed by #281

Comments

@TemMax
Copy link

TemMax commented Feb 5, 2024

Describe the bug
java.math.BigInteger#toByteArray returns ByteArray(0) (size == 1) when bignum.BigInteger#toByteArray returns an empty ByteArray.

Platform

  • JVM
@ionspin
Copy link
Owner

ionspin commented Feb 6, 2024

Thanks for reporting, fix shoulde be available in snapshot soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants