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:
didww-v3 Ruby gem
didww/didww-api-3-php-sdk PHP library
didww_encrypt Python package
Python package can be used as CLI tool. See package documentation for details.
To implement encryption manually see figure:
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: