-
The size of the public key in bytes.
Declaration
Swift
public static let SizeInBytes: UInt32
-
Restores a public key from a given byte array. The byte array is copied to a secure location and overwritten with zeroes to avoid the key being compromised in memory.
Warning
Do not initialize new keys with this function. If you need a new key, use
KeyExchange()
instead. This initializer is only to restore public keys that were persisted or transmitted.Declaration
Swift
public override init?(bytes: inout Bytes)
Parameters
bytes
A public key.