Function publicKeyBytes [src]

Return the raw public key bytes corresponding to this secret key.

Prototype

pub fn publicKeyBytes(self: SecretKey) [PublicKey.encoded_length]u8

Parameters

self: SecretKey

Source

pub fn publicKeyBytes(self: SecretKey) [PublicKey.encoded_length]u8 { return self.bytes[KeyPair.seed_length..].*; }