Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 381 Bytes

File metadata and controls

22 lines (16 loc) · 381 Bytes

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