• RE: Creation of URL integration in PHP

    Hello Romain,

    I asked some help at Docuware , Florian M. was able to help me out.

    The passhrase needs to be utf8 encoded and the hash needs an extra parameter, set to true, needed for raw output 

    $key = utf8_encode('password1234');
    $passphrase = hash('sha512', $key, true);

    Then one more change:
    $encrypted = openssl_encrypt($param, 'aes-256-cbc', $encryption_key, 0, $iv);

    Change the 0 to OPENSSL_RAW_DATA

    $encrypted = openssl_encrypt($param, 'aes-256-cbc', $encryption_key, OPENSSL_RAW_DATA, $iv);

    For me it works now! (-:

    Hope it helps you also!

     
  • RE: Creation of URL integration in PHP

    Hello Romain,

    With the new update of Docuware 7.2 it no longer allowed to send the credentials only base64 encoded in the URL.
    So I need to use the passphrase also to encode the complete URL.

    Can you give some feedback how your question is answered by the Docuware support Team, or do you have a working solution ?

    Kind regards,

    Aren