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.  AES256-ECB Algorithm for Encryption/Decryption

    Posted 10/20/23 10:20 AM

    Hi Team

    I will implement AES256-ECB Algorithm for Encryption/Decryption mechanism using secret key . Does datapower support this if yes then please tell me how i implement this.



    ------------------------------
    Shah Wajahat
    ------------------------------


  • 2.  RE: AES256-ECB Algorithm for Encryption/Decryption

    Posted 10/24/23 07:37 AM
    Edited by Hermann Stamm-Wilbrandt 10/24/23 07:37 AM

    Hi,

    DataPower does not support any ECB mode.

    Reason is that ECB is  unsecure, and always a CBC (cipher block chaning mode) is preferable.
    Please have a look at the image encoded with ECB and CBC at end of ECB section.
    That makes pretty clear considering ECB is a bad thing:

    https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Electronic_codebook_(ECB)



    ------------------------------
    Hermann Stamm-Wilbrandt
    Compiler Level 3 support, IBM DataPower Gateways
    IBM
    Boeblingen Germany
    ------------------------------



  • 3.  RE: AES256-ECB Algorithm for Encryption/Decryption

    Posted 10/24/23 07:52 AM

    thank you for your response.



    ------------------------------
    Shah Wajahat
    ------------------------------



  • 4.  RE: AES256-ECB Algorithm for Encryption/Decryption

    Posted 10/30/23 08:46 AM

    Hi,

    Is there any other way to use it



    ------------------------------
    Shah Wajahat
    ------------------------------



  • 5.  RE: AES256-ECB Algorithm for Encryption/Decryption

    Posted 10/30/23 11:47 AM

    No, and I told you the reason why.



    ------------------------------
    Hermann Stamm-Wilbrandt
    Compiler Level 3 support, IBM DataPower Gateways
    IBM
    Boeblingen Germany
    ------------------------------