publicKeyFromBytes

Converts a ByteArray into a 32-byte public key representation. If the input ByteArray is longer than 32 bytes, it's truncated. If it's shorter, it's right-aligned within a 32-byte array.

Return

A 32-byte representation of the public key.