asmcrypto / asmcrypto.js

JavaScript Cryptographic Library with performance in mind.
MIT License
660 stars 182 forks source link

Make BigNumber.toString(16) produce better hex #47

Closed bored-engineer closed 10 years ago

bored-engineer commented 10 years ago

BigNumber.toString(16) should leave the stripping of extra zero's as something the user can choose to do. I suggest removing the stripping functionality all together, but providing it as a optional boolean parameter would work as well.

bored-engineer commented 10 years ago

Ignore the previously deleted posts, those were done on my branch which is why they made no sense.