I think you'll run into encoding errors. I looked into this briefly too. A MySQL database is often utf-8, which means each character that doesn't fit into it gets escaped and then occupies extra space. Then there's recall. You need a way to unescape before you process it back into a big int.

I did make a Rust arbitrary size integer number converter and encoder a few months ago. It uses any sequence of the ascii characters you give it as a key, or you specify a size to it up to 256 and it uses the characters in-order.

Reply to this note

Please Login to reply.

Discussion

No replies yet.