public
Description: Base58 is a Ruby library/gem for converting ints to and from base58.
Homepage: http://douglasfshearer.com/rdoc/base58/
Clone URL: git://github.com/dougal/base58.git
base58 /
name age message
file .gitignore Sat Apr 25 13:32:02 -0700 2009 Initial commit. [dougal]
file CHANGELOG Fri Nov 27 03:41:24 -0800 2009 Gracefully deals with bad input. Thanks to isno... [dougal]
file MIT-LICENSE Sat Apr 25 13:32:02 -0700 2009 Initial commit. [dougal]
file README.rdoc Sun Dec 06 11:30:27 -0800 2009 Moved docs to rdoc.info. [dougal]
file Rakefile Thu Nov 05 03:25:39 -0800 2009 Move management to Jeweler and hosting to GemCu... [dougal]
file VERSION Fri Nov 27 03:42:13 -0800 2009 Version bump to 0.0.4 [dougal]
file base58.gemspec Thu Nov 05 03:25:39 -0800 2009 Move management to Jeweler and hosting to GemCu... [dougal]
directory lib/ Fri Nov 27 03:41:24 -0800 2009 Gracefully deals with bad input. Thanks to isno... [dougal]
directory test/ Fri Nov 27 03:41:24 -0800 2009 Gracefully deals with bad input. Thanks to isno... [dougal]
README.rdoc

Base58

If you find this library useful, please consider a donation to show your support!

www.paypal.com/cgi-bin/webscr?cmd=_send-money

Paypal address: dougal.s@gmail.com

Install

Base58 is hosted by gemcutter.com. Please make sure you have added them to your gem sources.

  $ sudo gem install base58

Usage

  require 'rubygems'
  require 'base58'

  # Int to Base58
  Base58.int_to_base58(12345) # => 4ER

  # Base58 to Int
  Base58.base58_to_int('A2Ph') # => 6639914

RDoc Documentation

You can view the rdoc documentation online.

Problems, Comments, Suggestions?

All of the above are most welcome. dougal.s@gmail.com

Credits

Douglas F Shearer - douglasfshearer.com

Test examples courtesy Fraser Speirs’ Base58Encoder Objective-C class, gist.github.com/101674.