We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d10d9d4 commit ce478eaCopy full SHA for ce478ea
lib/ecdsa/group.rb
@@ -68,7 +68,8 @@ def initialize(opts)
68
69
# Creates a new point.
70
# The argument can either be an array of integers representing the
71
- # coordinates, with x first, or it can be `:infinity`.
+ # coordinates with x first, or it can be an integer (private key),
72
+ # or it can be `:infinity`.
73
def new_point(p)
74
case p
75
when :infinity
0 commit comments