# Encrypting & decrypting sensor data on disk using Zymkey

**URL:** <https://community.zymbit.com/t/encrypting-decrypting-sensor-data-on-disk-using-zymkey/94>\
**Category:** ZYMKEY4\
**Created:** [December 13, 2016, 10:02pm UTC](https://community.zymbit.com/t/encrypting-decrypting-sensor-data-on-disk-using-zymkey/94 "2016-12-13T22:02:15Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![crvinay1992](https://avatars.discourse-cdn.com/v4/letter/c/ecc23a/32.png) [@crvinay1992](https://community.zymbit.com/u/crvinay1992)\
**Post date:** [February 27, 2019, 9:54pm UTC](https://community.zymbit.com/t/encrypting-decrypting-sensor-data-on-disk-using-zymkey/94/12 "2019-02-27T21:54:03Z")

</div>

> [@Bob\_of\_Zymbit](#):
>
> The lock and unlock operations can only be used local to the zymkey because all private keys are unique to the zymkey and not exportable to the outside world. However, you definitely could sign data packages between the sender and receiver.

Yes, I want to use the priv-pub key pair to create and store a secret key and use it for symmetric encryption between two raspberry pi’s with zymbits paired to them. I read on another thread that there is a solution based on the zymkey toolchain to achieve this. Can I have more details on this please?

Link to the thread: [Same Encryption key for 2 Zymkeys - #4 by vivekb](https://community.zymbit.com/t/same-encryption-key-for-2-zymkeys/115/4)

---

_[View the full topic](https://community.zymbit.com/t/encrypting-decrypting-sensor-data-on-disk-using-zymkey/94)._
