Encrypting/decrypting data animation transcript
- Create some unencrypted content
echo "Hello world" > unencrypted.txt
- Encrypt and store file from above in privatespace. In privatespace it will have decrypted name
secret.txt
./datasafe-cli -c john.credentials private cp unencrypted.txt secret.txt
- Show that filename is encrypted in privatespace:
ls private
- Show that file content is encrypted too:
cat private/encrypted_file_name_from_above
- Decrypt file content:
./datasafe-cli -c john.credentials private cat secret.txt