fuel_crypto::secp256r1

Function encode_pubkey

source
pub fn encode_pubkey(key: VerifyingKey) -> [u8; 64]
Available on crate feature test-helpers only.
Expand description

Convert the public key point to its uncompressed non-prefixed representation, i.e. 32 bytes of x coordinate and 32 bytes of y coordinate.