Can i use encryption on my API integration?

  • Profile Image
    akapteyn
    Asked on March 26, 2018 at 12:12 PM

    Hi,

    If I turn encryption on, my results are encrypted when I request them through the api.  Are there any plans to allow me to pass my encryption string to the api, so it returns the plain Json?

  • Profile Image
    TREVON
    Answered on March 26, 2018 at 01:39 PM

    Kindly note that this may be possible if you have a way of decrypting the data with your private key but kindly note that we do not cover this. Kindly see the guide below on the same.

    https://www.jotform.com/help/344-Encrypted-Forms-and-How-to-Use-Them#Can-I-Use-Any-Integration-on-Encrypted-Forms

    Kindly note that our forms are secure, so all of our links load over a secure URL (HTTPS) it means that they are being transferred using this security protocol even when you are using our integration.

  • Profile Image
    akapteyn
    Answered on March 26, 2018 at 01:42 PM

    I understand that you currently do not cover this.  My question is:  Are you going to add this functionality in the future?  I need my data encrypted at rest, I do not need it encrypted during transport, because the https covers this.

  • Profile Image
    Adrian
    Answered on March 26, 2018 at 02:42 PM

    Unfortunately, it is not possible to get the decrypted data through the API and I cannot say if this will be implemented in the near future.

    Please see the following gist which might help you decrypt the data after you fetch them through the API.

    https://gist.github.com/eeertekin/f256665d6ef8b463d8e662477fbe5581

    For more details, you can check the openssl_private_decrypt function in PHP Manual.
    http://us.php.net/manual/en/function.openssl-private-decrypt.php