DataPower

DataPower

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
  • 1.  node-fpe module in Datapower

    Posted 08/05/20 02:35 PM

    Hi,

    I was looking to have Format-preserving encryption using gateway script.

    By importing below module

    var Encryptor = require('node-fpe');

    But in Datapower, its throwing an error as

    GatewayScript processing Error 'Error: Unable to open the script module file 'node-fpe' In file 'gatewayscript:///datapower.js' line:315, stack:Error: Unable to open the script module file 'node-fpe' at ModuleContext.require (gatewayscript:///datapower.js:315:35) at Object.<anonymous> (local:///Common/Encrypt_FPE.js:9:17) at Script.execute (gatewayscript:///datapower.js:162:24) at Object.<anonymous> (gatewayscript:///datapower.js:589:55)'

    Unable to open the script module file 'node-fpe'



    #DataPower
    #Support
    #SupportMigration


  • 2.  RE: node-fpe module in Datapower

    Posted 08/05/20 08:45 PM

    DataPower has no node-fpe module.

    In case you find a CommonJS compatible node-pe module somewhere, you can store the files in DataPower local: folder and use then.



    #DataPower
    #Support
    #SupportMigration