publicKeyLength property
int
get
publicKeyLength
Implementation
int get publicKeyLength {
switch (this) {
case KeyAlgorithm.ed25519:
return 32;
case KeyAlgorithm.secp256k1:
// Compressed public key is 33 bytes.
return 33;
}
}