SealPublicKey

A recipient's public key: anyone holding it can seal bytes that only the matching SealPrivateKey can open.

Its byte form, encoded, is stable: the 65-byte SEC 1 uncompressed P-256 point (0x04 || X || Y). Two keys are equal exactly when their encodings are, so a consumer can compile a production key into an app as bytes and check at startup that a test key is not the one in use.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

The stable 65-byte encoding; a fresh copy on every call.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String