IBM Security Verify

 View Only
  • 1.  ISAM - Encryption & Hashing in InfoMap

    Posted Tue February 02, 2021 08:57 AM
    Hello Team,

    I want to know is there implementation of Encryption & Hashing logic(AES/CBC/PKCS5Padding) is present? to be used in InfoMap.

    or is there any way to use/implement this Encryption & Hashing logic in InfoMap?

    can anyone help me with the same?

    ------------------------------
    Mukesh
    ------------------------------


  • 2.  RE: ISAM - Encryption & Hashing in InfoMap

    Posted Wed February 10, 2021 08:17 AM
    Any pointer could be helpful.

    ------------------------------
    Mukesh
    ------------------------------



  • 3.  RE: ISAM - Encryption & Hashing in InfoMap

    Posted Fri February 19, 2021 02:40 AM
    Hi Mukesh,

    @Peter Volckaert has implemented such functionality in InfoMap: https://github.com/peter-volckaert/custom-password/blob/master/mapping-rules/InfoMap_CryptoJS.js, so I suggest you take a look at his code for leads.

    Furthermore, there are are some basic features implemented in the available classes (see the JavaDocs for more information):
    com.tivoli.am.fim.trustserver.sts.utilities.OAuthMappingExtUtils:
    
    static byte[] 	SHA256Sum(java.lang.String value)
    Get a SHA-256 hash of the provided value.
    
    static byte[] 	SHA384Sum(java.lang.String value) 
    Get a SHA-384 hash of the provided value.
    
    static byte[] 	SHA512Sum(java.lang.String value)
    Get a SHA-512 hash of the provided value.

    Hope it helps.


    ------------------------------
    Dries Eestermans
    IS4U
    ------------------------------