API ReferencenamespacesEncryptionfunctionsencryptOn this pageencryptfunction encrypt(message: Field[], otherPublicKey: PublicKey): CipherText; Defined in: lib/provable/crypto/encryption.ts:54 Public Key Encryption, encrypts Field elements using a PublicKey. Parameters message Field[] otherPublicKey PublicKey Returns CipherText