class Secp256k1::PublicKey
- Secp256k1::PublicKey
- Reference
- Object
Defined in:
secp256k1/ecdh.crsecp256k1/ecdsa.cr
secp256k1/public_key.cr:5
secp256k1/public_key.cr:10
Constant Summary
-
SERIALIZED_COMPRESSED_SIZE =
33_u64
-
SERIALIZED_SIZE =
65_u64
Constructors
Instance Method Summary
- #bytes : Bytes
- #combine(public_keys : Array(PublicKey)) : PublicKey
- #ecdh(secret_key : Bytes) : Bytes
- #ecdsa_verify(ecdsa : Ecdsa, message_hash : Bytes) : Bool
- #serialize : Bytes
- #serialize_compressed : Bytes
Constructor Detail
def self.new(wrapped_context : LibSecp256k1::Secp256k1Context, wrapped_public_key : LibSecp256k1::Secp256k1Pubkey)
#