Solved

Conversion from base64 encoded string in java to varchar in oracle

Posted on 2004-09-06
1
1,606 Views
Last Modified: 2012-05-05
hi,

We have encrypted a value in java using des3 with a specific key.  We have converted this byte array to
a base64 encoded string value.

Now we want to decrypt this data using des3 in oracle.
To do this do we
1) convert String to raw value using UTL_RAW.CAST_TO_RAW(base64String)
2) Decode base 64 raw value using UTL_DECODE.BASE64_ENCODE
3) Decrypt using des3 oracle passing in key, and value returned from 2.
4) Convert to varchar2 using UTL_RAW.CAST_TO_VARCHAR2
0
Comment
Question by:inzaghi
1 Comment
 
LVL 23

Accepted Solution

by:
seazodiac earned 500 total points
ID: 11990536
I think you should explore what DBMS_OBFUSCATION_TOOLKIT package offers to you.

it has DBMS_OBFUSCATION_TOOLKIT.DECRYPT() procedures , overloading procedures to decipher the byte array encoded using JAva DES3 algorithm
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question