KeyPair
scalus.cardano.wallet.KeyPair
trait KeyPair
A key pair for Ed25519 signing operations.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Members list
Type members
Types
type Underlying
Value members
Abstract methods
Sign a message and return the signature.
Sign a message and return the signature.
Value parameters
- message
-
the message to sign
Attributes
- Returns
-
64-byte Ed25519 signature
The verification (public) key - 32 bytes.
The verification (public) key - 32 bytes.
Attributes
Verify a signature.
Verify a signature.
Value parameters
- message
-
the message that was signed
- signature
-
the signature to verify
Attributes
- Returns
-
true if the signature is valid
Deprecated methods
Attributes
- Deprecated
-
[Since version 0.13.0]Use the signing key directly
Attributes
- Deprecated
-
[Since version 0.13.0]Use verificationKey.bytes instead
Attributes
- Deprecated
-
[Since version 0.13.0]Use sign(ByteString) instead
Attributes
- Deprecated
-
[Since version 0.13.0]Use verificationKey and signing key directly
Attributes
- Deprecated
-
[Since version 0.13.0]Use verify(ByteString, Signature) instead
In this article