Encryption details

Files passed to Create Encrypted File should be encrypted with DIDWW Public Keys.

Using SDK for encryption

Recommended way of using encryption is to encrypt files in browser. it can be achieved via @didww/encrypt JS library.

If you want to encrypt files on server side it can be done via following:

Python package can be used as CLI tool. See package documentation for details.

To implement encryption manually see figure:


Fig. 1. File encryption schematic.

For additional check you need to pass fingerprint of public keys along with encrypted files. You can use our JS library or ruby SDK for that.

To implement fingerprint calculation manually see figure:


Fig. 1. Fingerprint calculation schematic.