base58_gmp 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +4 -2
- data/README.rdoc +14 -6
- data/VERSION +1 -1
- data/base58_gmp.gemspec +1 -1
- metadata +3 -3
data/CHANGELOG
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
= 0.0.2
|
|
2
|
+
- Documentation update.
|
|
3
|
+
|
|
1
4
|
= 0.0.1
|
|
2
|
-
- Initial release.
|
|
3
|
-
- Includes encode and md5 capabilities
|
|
5
|
+
- Initial release including encode and md5 capabilities.
|
|
4
6
|
- Does not include decode due to current limitation in GMP binding. For now, the base58 gem can be used for decoding.
|
data/README.rdoc
CHANGED
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
High speed Base58 encoding using GMP with MD5 support
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
== Installation
|
|
6
|
+
|
|
7
|
+
=== Gem Installation
|
|
8
|
+
|
|
9
|
+
Download and install base58_gmp with the following.
|
|
8
10
|
|
|
9
|
-
|
|
11
|
+
gem install base58_gmp
|
|
10
12
|
|
|
11
13
|
== Usage
|
|
12
14
|
|
|
@@ -19,6 +21,12 @@ Base58GMP is hosted by http://rubygems.org. Please make sure you have added them
|
|
|
19
21
|
# MD5 Base58 Digest
|
|
20
22
|
Base58GMP.md5('foo@bar.com') # => w6fdCRXnUXyz7EtDn5TgN9
|
|
21
23
|
|
|
24
|
+
== Notes
|
|
25
|
+
|
|
26
|
+
GMP-based Base58 decoding is not currently provided as underlying support is not yet availabe in the Ruby GMP binding.
|
|
27
|
+
|
|
28
|
+
For now, please use the base58 gem for Ruby-based decoding.
|
|
29
|
+
|
|
22
30
|
== Problems, Comments, Suggestions?
|
|
23
31
|
|
|
24
32
|
All of the above are most welcome. mailto:john@johnwang.com
|
|
@@ -31,9 +39,9 @@ Test examples courtesy Fraser Speirs' Base58Encoder Objective-C class, http://gi
|
|
|
31
39
|
|
|
32
40
|
== License
|
|
33
41
|
|
|
34
|
-
Base58GMP is available under
|
|
42
|
+
Base58GMP is available under an MIT-style license.
|
|
35
43
|
|
|
36
|
-
:include: MIT-LICENSE
|
|
44
|
+
:include: MIT-LICENSE
|
|
37
45
|
|
|
38
46
|
== Warranty
|
|
39
47
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.2
|
data/base58_gmp.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'base58_gmp'
|
|
3
|
-
s.version = '0.0.
|
|
3
|
+
s.version = '0.0.2'
|
|
4
4
|
s.date = '2011-11-06'
|
|
5
5
|
s.summary = 'High speed Base58 encoding using GMP with MD5 support'
|
|
6
6
|
s.description = 'Base58 encoding using The GNU Multiple Precision Arithmetic Library (GMP)'
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: base58_gmp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 27
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.0.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- John Wang
|