Secp256k1Zkp::Context
Inherits Reference < Object
Constructors
new(flag : Int32 = LibSecp256k1::SECP256K1_CONTEXT_ALL, ctx : LibSecp256k1::Secp256k1_context_t_ptr | Nil = nil)
SourceClass methods
default
SourceInstance methods
clone
Sourcedup
Returns a shallow copy of this object.
This allocates a new object and copies the contents of
self into it.
is_canonical?(c : RawdataCompactSignature) : Bool
Sourceis_valid_private_keydata?(private_keydata : RawdataPrivateKey) : Bool
Sourceis_valid_public_keydata?(public_keydata : RawdataCompressedPublicKey) : Bool
Sourcepedersen_commit(blind_factor : Bytes, value : UInt64) : Bytes
Sourcesign_compact(message_digest : Bytes, private_key : PrivateKey, require_canonical = true) : Bytes
Sourceto_unsafe
Source