PublicKey

PublicKey[assoc]

represents the public part of a key pair for a public-key cryptographic system.

Details

Examples

Basic Examples  (1)

Generate public and private keys:

In[1]:=
Click for copyable input
Out[1]=

Encrypt using the public key:

In[2]:=
Click for copyable input
Out[2]=

Decrypt using the private key:

In[3]:=
Click for copyable input
Out[3]=

See Also

PrivateKey  GenerateAsymmetricKeyPair  Encrypt  Decrypt  EulerPhi

Introduced in 2015
(10.1)