2

I'm having a hard time figuring out how to convert a hex string into a checksum256/capi_checksum256 (or vice versa), any help?

  • Can you show some code for what you are doing? A checksum essentially digests a bunch of bits of arbitrary length into another string having fixed width of 256 bits. So if you treat your hex data as a string, and then apply a checksum on it, that should work out. Here's a test. – Gunnar Pope Nov 18 '18 at 2:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.