ecdsa 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ecdsa/point.rb +6 -0
- data/lib/ecdsa/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 699ca15afbdc07cd6695b62ee3a7b34fecfd6bba
|
4
|
+
data.tar.gz: 0537e82bf3edddc7966b741dbbf4f23511b1ccf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84920674dc7d746b46f0fcee632a51f0f5bd7becccf65f02229fa85e5525b61194a369b8820275c800a98faa8def86ac056b7e2153b109a04b12c04cdf10890e
|
7
|
+
data.tar.gz: 05022113ee5c0b7a2e797a00e57b3727db515e92c4990bf691ceb019ca328518d120bba7da49c86e08e230c690ee40f9a87e6c8f78e1cb9642bd97f3b59b6cde
|
data/lib/ecdsa/point.rb
CHANGED
@@ -83,6 +83,9 @@ module ECDSA
|
|
83
83
|
raise "Failed to add #{inspect} to #{other.inspect}: No addition rules matched."
|
84
84
|
end
|
85
85
|
|
86
|
+
# (see #add_to_point)
|
87
|
+
alias_method :+, :add_to_point
|
88
|
+
|
86
89
|
# Returns the additive inverse of the point.
|
87
90
|
#
|
88
91
|
# @return (Point)
|
@@ -123,6 +126,9 @@ module ECDSA
|
|
123
126
|
result
|
124
127
|
end
|
125
128
|
|
129
|
+
# (see #multiply_by_scalar)
|
130
|
+
alias_method :*, :multiply_by_scalar
|
131
|
+
|
126
132
|
# Compares this point to another.
|
127
133
|
#
|
128
134
|
# @return (true or false) true if the points are equal
|
data/lib/ecdsa/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecdsa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Grayson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: davidegrayson@gmail.com
|