Hitachi Vantara Pentaho Community Forums
Results 1 to 10 of 10

Thread: Decryt Data

  1. #1
    Join Date
    Sep 2012
    Posts
    13

    Default Decryt Data

    Hi,

    Can some one help with how to decrypt a filed with AES/CBC/PKCS5Padding algorithm in PDI/Spoon?

  2. #2
    Join Date
    Sep 2012
    Posts
    13

    Default Can Kettle decrypt data with AES/CBC/PKCS5Padding algorithm

    Can some one help with how to decrypt a filed with AES/CBC/PKCS5Padding algorithm in PDI?

    Thanks,
    Mano

  3. #3
    Join Date
    Aug 2016
    Posts
    290

    Default

    If you can do it in java, you can do it in spoon. You would have better luck searching for a java solution, then implement it by putting the jars in the lib folder and the code that uses the library in the java user defined class step.

  4. #4
    Join Date
    Aug 2016
    Posts
    290

    Default

    I suggest putting the required jars in lib folder, then find a java tutorial and apply that in a java user defined class step.

  5. #5
    Join Date
    Sep 2012
    Posts
    13

    Default

    could you please let me know what are the jars required for decrypt data with AES/CBC/PKCS5Padding algorithm?

  6. #6
    Join Date
    Apr 2008
    Posts
    4,696

    Default

    According to https://github.com/pentaho/pentaho-k...yptoTrans.java

    PDI is not built to prepare the IV parameter that is needed to do AES/CBC/PKCS5Padding decryption.
    The JARs should already be in place, since the Symmetric Cryptography step uses them.

    You should file a request at jira.pentaho.com to enhance this step.

  7. #7
    Join Date
    Sep 2012
    Posts
    13

    Default Decrypt with AES

    Hi acbonnemaison, could you please let me know the solution for this,since i got same senario? Thanks in Advance!! Manohar

  8. #8
    Join Date
    Aug 2016
    Posts
    290

    Default

    Quote Originally Posted by manodwh.b View Post
    could you please let me know what are the jars required for decrypt data with AES/CBC/PKCS5Padding algorithm?
    I have no idea sorry, the topic is general java, not pentaho kettle specific. I suggest you go looking on the internet.

  9. #9
    Join Date
    Aug 2016
    Posts
    290

    Default

    Quote Originally Posted by manodwh.b View Post
    Hi acbonnemaison, could you please let me know the solution for this,since i got same senario? Thanks in Advance!! Manohar
    Aanything you can do in java you can you do in spoon. If I was to do your task, I would have to google some java tutorial, example or documentation. That would probably include some jars, which, if you want to include it in a kettle project, you must put in the lib folder. After that, you can create your own code inspired by the documentation/tutorial/example mentioned earlier. This can be put in a User Defined Java Class step. You can find great tutorials for it online too. If there's anything specific you don't understand with UDJC, I suggest you come back here and ask.

  10. #10

    Default decryption can be done in pentaho

    Create a java class with appropriate functions and place them in pentaho lib folder and call them in transformation using javascript step. It worked for me. Let us know if you have any concerns.

    Quote Originally Posted by manodwh.b View Post
    Hi,

    Can some one help with how to decrypt a filed with AES/CBC/PKCS5Padding algorithm in PDI/Spoon?
    Regards,
    Dileep
    Mail ID

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.