# Encrypting data variable using  API Secret for telemedicine

**URL:** <https://devforum.zoom.us/t/encrypting-data-variable-using-api-secret-for-telemedicine/763>\
**Category:** API and Webhooks\
**Created:** [November 3, 2017, 3:44am UTC](https://devforum.zoom.us/t/encrypting-data-variable-using-api-secret-for-telemedicine/763 "2017-11-03T03:44:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Navin\_Bhutada](https://avatars.discourse-cdn.com/v4/letter/n/5f9b8f/32.png) [@Navin\_Bhutada](https://devforum.zoom.us/u/Navin_Bhutada)\
**Post date:** [November 3, 2017, 3:44am UTC](https://devforum.zoom.us/t/encrypting-data-variable-using-api-secret-for-telemedicine/763/1 "2017-11-03T03:44:52Z")

</div>

Hi All,

I am having issue in encrypting data value for telemedicine API using API secret. It says invalid key length. I am trying to encrypt this in Java and have updated my security policy to allow higher than 16 bytes key lengths.

Any help would be appreciated.

Thanks,  
Navin

---

<div class="post-metadata">

**Author:** ![Zoom\_Developer](https://avatars.discourse-cdn.com/v4/letter/z/eb8c5e/32.png) [@Zoom\_Developer](https://devforum.zoom.us/u/Zoom_Developer)\
**Post date:** [November 3, 2017, 3:57pm UTC](https://devforum.zoom.us/t/encrypting-data-variable-using-api-secret-for-telemedicine/763/2 "2017-11-03T15:57:47Z")

</div>

Hi, please check out the sample code @&nbsp;[https://github.com/zoom/zoomutils](https://github.com/zoom/zoomutils)

&nbsp;

Regards.

Wei@zoom

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 5:20pm UTC](https://devforum.zoom.us/t/encrypting-data-variable-using-api-secret-for-telemedicine/763/3 "2020-08-21T17:20:25Z")

</div>


