Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
noble-ed25519
master
Noble
Ed25519
Curve
Curve25519
ExtendedPoint
Hex
Point
PrivKey
PubKey
RistrettoPoint
Signature
SigType
Utils
Built with Crystal 1.9.2
2023-10-07 11:08:35 UTC
class
Noble::Ed25519::Signature
Noble::Ed25519::Signature
Reference
Object
Overview
** EDDSA signature. /
Defined in:
noble-ed25519.cr
Constructors
.fromHex
(hex : Hex) : Signature
.new
(r : Point, s : BigInt)
Instance Method Summary
#assertValidity
#r
: Point
#r=
(r : Point)
#s
: BigInt
#s=
(s : BigInt)
#toHex
#toRawBytes
Constructor Detail
def self.
fromHex
(hex :
Hex
) :
Signature
#
[
View source
]
def self.
new
(r :
Point
, s : BigInt)
#
[
View source
]
Instance Method Detail
def
assertValidity
#
[
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
toHex
#
[
View source
]
def
toRawBytes
#
[
View source
]