Skip to content

Latest commit

 

History

History

cover_crypt

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

CoverCrypt Example

This example will show you the basics of policy-based encryption:

  • creation of a policy
  • keys generation
  • messages encryption and decryption

Run

pip install -r requirements.txt
python3 example.py

Using a local KMS

docker run -p 9998:9998 --name kms ghcr.io/cosmian/kms:4.13.3
# on another terminal
python3 example_kms.py