How (using JavaServerPages) can I decrypt data that was encrypted with PL/SQL
dbms_obfuscation_toolkit.DESEncrypt
The key is known. I’m new with JSP so please explain your answer.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This encryption method
dbms_obfuscation_toolkit.DESEncryptallows you to have passwords or you say it strings in multiple of 8 characters only. So below I have coded a sample JSP page which shows u that a string is encrypted and decrypted..Pre-Requisite: This code uses a library org.apache.commons.codec.binary, Download org.apache.commons.codec.binary 1.5 binary file and place it in the lib folder.
This should probably resolve your problem.
Cheers!