Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
Wrapper for the Kyber KEM
Contributed by: Antonis Aristeidou
A post-quantum cryptography key encapsulation mechanism.
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["ToneAr/Kyber"]
To load the code after installation, evaluate this code:
Needs["ToneAr`Kyber`"]
Recipient generate a ML-KEM keypair and distributes public key to sender:
| In[1]:= |
| Out[1]= | ![]() |
Sender generates and encapsulate a shared secret using the receivers public key:
| In[2]:= |
| Out[2]= | ![]() |
Sender encrypts a message using the shared secret:
| In[3]:= |
| Out[3]= | ![]() |
Sender sends message to recipient:
| In[4]:= | ![]() |
Recipient decapsulated the shared secret using their private key:
| In[5]:= |
| Out[5]= | ![]() |
Recipient decrypts encrypted payload using shared secret:
| In[6]:= |
| Out[6]= |
Wolfram Language Version 14.