Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
ed25519
v1.0.1
Ed25519
Curve
Curve25519
ExtendedPoint
Hex
Point
PrivKey
PubKey
RistrettoPoint
Signature
SigningKey
SigType
Utils
VerifyError
VerifyKey
Built with Crystal 1.9.2
2023-10-08 04:05:29 UTC
class
Ed25519::Signature
Ed25519::Signature
Reference
Object
Overview
** EDDSA signature. /
Defined in:
ed25519/signature.cr
Constructors
.from_hex
(hex : Hex) : Signature
.new
(r : Point, s : BigInt)
Instance Method Summary
#assert_validity
#r
: Point
#r=
(r : Point)
#s
: BigInt
#s=
(s : BigInt)
#to_hex
#to_raw_bytes
Constructor Detail
def self.
from_hex
(hex :
Hex
) :
Signature
#
[
View source
]
def self.
new
(r :
Point
, s : BigInt)
#
[
View source
]
Instance Method Detail
def
assert_validity
#
[
View source
]
def
r
:
Point
#
[
View source
]
def
r=
(r :
Point
)
#
[
View source
]
def
s
: BigInt
#
[
View source
]
def
s=
(s : BigInt)
#
[
View source
]
def
to_hex
#
[
View source
]
def
to_raw_bytes
#
[
View source
]