API Connect

API Connect

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Which version of crypto module used in IBM API connect

  • 1.  Which version of crypto module used in IBM API connect

    Posted Thu November 10, 2022 05:00 AM
    Hello Team,

    In IBM API Connect, we have used "crypto" module and use "aes256-cbc" algorithm.
    Our consumer team uses Node.js language and they are getting issue while using "aes256-cbc" algorithm at their end.
    Can we need to maintained same version on Comsumer and API end? 
    if yes, please guide how to check version of crypto module.

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


  • 2.  RE: Which version of crypto module used in IBM API connect

    Posted Sun November 13, 2022 12:10 AM
    Hi Jyoti,

    The crypto module version we don't know we can't hear this anywhere, but I can share my experience meanwhile, API Connect can support "aes256-cbc" algorithm and also client side they have to prepare their won Node.js code based on the "aes256-cbc" algorithm. based on the algorithms codes syntax will be changed.

    Has they able to do encryption with other algorithms or not using Node.js?

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

    sample codes for Node.js:
    https://www.section.io/engineering-education/data-encryption-and-decryption-in-node-js-using-crypto/
    https://gist.github.com/siwalikm/8311cf0a287b98ef67c73c1b03b47154
    https://nodejs.org/api/crypto.html

    ------------------------------
    kandula nagababu
    ------------------------------