API Connect

 View Only
  • 1.  Encrypt Decryption using key,IV

    Posted Tue July 12, 2022 02:49 AM
    Hello Team,

    Please guide how to perform Encryption and Decryption using below details on IBM API connect V5 and V10.
    1. key
    2.IV
    3. Algorithm: aes256-cbc ( RijndaelManaged).

    Thank you,
    Jyoti

    ------------------------------
    Jyoti Yadav
    ------------------------------


  • 2.  RE: Encrypt Decryption using key,IV
    Best Answer

    Posted Wed July 13, 2022 01:24 AM
    Hi,

    You can use below reference link, AES Encryption & Decryption can be done using both XSLT & Gatewayscript, as per your convenience.

    https://www.ibm.com/docs/en/datapower-gateway/10.0.1?topic=apis-crypto-module

    https://www.ibm.com/docs/en/datapower-gateway/10.0.1?topic=functions-dpencrypt-data

    ------------------------------
    Jayprakash Yadav
    ------------------------------



  • 3.  RE: Encrypt Decryption using key,IV

    Posted Mon July 18, 2022 12:11 AM
    Hello,

    Please guide how to use  rijndaelmanaged Logic for Encryption and Decryption On IBM API connect v5 and v10.

    Thanks and regards,
    Jyoti

    ------------------------------
    Prashant Patel
    ------------------------------



  • 4.  RE: Encrypt Decryption using key,IV

    Posted Mon July 18, 2022 02:03 PM

    Prashant,

    There is an example GatewayScript at store:///gatewayscript/example-jwe-encrypt-decrypt.js/  which you can use as a template.  Just specify

    http://www.w3.org/2001/04/xmlenc#aes256-cbc

    as an algorithm if that is the one you wish to use.

    Regards,

    Steve



    ------------------------------
    Steve Linn
    Senior Consulting I/T Specialist
    IBM
    ------------------------------