Author

Topic: Base58 without bigint? (Read 757 times)

sr. member
Activity: 322
Merit: 250
March 21, 2014, 10:03:55 PM
#3
I have a Java Base58 encoder/decoder which works directly with the byte array.  But I don't know that it is any faster than what you are using.  If you want to check it out, https://github.com/ScripterRon/BitcoinWallet/tree/master/src/BitcoinWallet/Base58.java

MOD by long division. Far out!

Thanks!
full member
Activity: 136
Merit: 120
March 21, 2014, 06:35:13 PM
#2
I have a Java Base58 encoder/decoder which works directly with the byte array.  But I don't know that it is any faster than what you are using.  If you want to check it out, https://github.com/ScripterRon/BitcoinWallet/tree/master/src/BitcoinWallet/Base58.java
sr. member
Activity: 322
Merit: 250
March 21, 2014, 05:21:43 PM
#1
Does anybody have an snippet or theoretical algorithm available that can encode a byte array to Base58 without using BitInt? (Instead using chunks or some other technique).

I can do this in my sleep for Base64, but Base58 makes my head hurt.


I created a blockchain scanner, and it's spending 70% of it's life now in the Base58 address conversion (Using BigInt from BouncyCastle). Argh.

- Deon
Jump to: