2 Replies Latest reply on May 31, 2017 8:44 AM by iguerra RSS
    iguerra Newbie

    How encryptStringWithKey works

    Can someone tell me which method encryptStringWithKey uses to encrypt data ?

    I need to encrypt from thingworx but decrypt the string from an external system so I need to do the decrypt in the same way, using the same key

    I just read from online help it should use AES/CBC/PKCS5Padding, but seems key length is not the right ...

    the function needs 56 hex characters to encrypt, so it should be 28 bytes (224 bit) ...

     

    Thanks