Converts a given public key into a packed (compressed) string format for efficient transmission and storage. This method ensures the public key is valid and within the Baby Jubjub curve before packing.
The public key to be packed.
A string representation of the packed public key.
Converts a given public key into a packed (compressed) string format for efficient transmission and storage. This method ensures the public key is valid and within the Baby Jubjub curve before packing.