Des3encrypt and des3decrypt problem across the databases

I have used des3encrypt to encrypt some data in instance 1. In instance 1,
I can use des3decrypt to decrypt that data.
Now I did a full export of database using expdp full=Y
I recreated my database (instance 2) and did full import using impdp full=Y.
I am however finding when I use des3decrypt with same key which was used to encrypt;
desdecrypt gives garbage data. In Instance 2, if I create some new data
and encrypt using des3encryprt. I can then decrypt it using des3decrypt without problem.
Similarly If I do expdp of a table in instance 2 which contains encrypted data and
Then delete that table in instance 2 and do an impdp of that table, data comes back encrypted and
Then I can decrypt it using des3decrypt. So expdp and impdp are capable of keeping encrypted data.
I am using same key in all encrypt/decrypt functions. If anyone has insight in above problem, please let me know. Thanks,

Are you storing the encrypted data in a VARCHAR2 column? Or in a RAW column? And which overloaded variant of Des3Encrypt and Des3Decrypt are you using?
I would strongly suggest that you store encrypted data in a RAW column because encrypted data is essentially binary data. If you store data in a VARCHAR2 column, the Oracle Net layer is going to potentially perform character set conversion every time it is sent over the wire. If that happens, your encrypted data is going to be corrupted, which is what I'm wagering is happening in your EXP process. On the other hand, if you stored the data in a RAW column, Oracle would know never to do character set conversion.
Justin

Similar Messages

  • Performance and Contention problem with the database ?

    Hello!
    I am having one database which is used by around 95 thousand
    users.Database contain about 4 lakh records. The database is
    going smooth and perfect.
    The problem(perfomance is slow and there is contension too) came
    when i made 4 web applications which contain atleast 1000 hits
    (1000 records are inserted in the database ) per day.
    Now the db is not going so smooth(contention and performance
    problem).
    I think this is happening becuase of those 4 web applications.
    So should i make new database for that 4 applications or i need
    to get the new system for it or there is another way through i
    can tune my running database.
    Any help will be appreciated.
    Regards
    Seemab

    Hi,
    If i well understand, u have one database and u insert 4000 rows
    per day and u have performance problem ?
    I think u have a big problem cause it's not really a big
    intensity on a base. So u should have big problems on ur
    database design such as undersized memory area, bad disk
    repartition, bad types of indexes or something like that.
    To decrease the contention, u should separate ur data and index
    datafiles over differents disks and specialize tablespace by the
    granularity of the table.
    But u r not enough precise to expect a precise answer; could u
    be more precise ? as the server u have, data volumes, a select *
    from v$system_event, etc...
    Good Luck,
    Fred DENIS

  • Reading the contents of a folder and store them in the database using 6i

    Hi all,
    I'm using developer 6i and oracle 8i,now am building personnel database,every employee has many certificates (graduate certificates,post-graduate certificates and work experience certificates),I want to scan all these certificates,put them in a folder ,give the form (employee form ) the path to the folder and the form read the contents of the folder (3 or 4 image files for example) dynamically and store them in the database.
    All examples I came across explain how to load a defined image file name into oracle database,but what if the image file name is not defined (i,e dynamically generated by the scanner).
    Hope I explained the case.
    Thanks in advance

    Sorry mhdamer,
    I read the example and thought it could be modified to retreive a directory listing. There is a way to do what you want, but you will have to check to see if you have the D2kwutil.pll installed with Forms 6i. If you do not have it installed you can download the pll from OTN. This Forms Library will only work on Windows, so if you want this functionality on a non-windows machine, it will not work. Read the D2KWUTIL.html for details on how to use this library. There are also some good posts here in the forums on how to use this library. Just search on D2KWUTIL.PLL.
    Craig...

  • I have an iMac OS X 10.6.8 and have problems with the backup Disk for Time Machine disconnecting itself with the message that I ejected it improperly.. It ejected itself - why?

    I have an iMac OS X 10.6.8 and have problems with the backup drive to Time Machine ejecting itself and so does not automatically backup the way it is meant to do. It is connected with an USB cable to my iMac. What could cause this - malfuntioning drive?

    The "iLife" apps are not part of any Mac operating system install and are a separate purchase.
    Once you get past 10.6.6 you can purchase and download iPhoto, GarageBand and iMovie. iWeb and iDVD have been discontinued.
    Snow Leopard 10.6.6 and higher include the App Store application which is what you use to purchase Lion.

  • I want to ask about iphone that the facetime is not working in UAE is that a problem ? and this problem affect the front camera "hardware"?

    i want to ask about iphone that the facetime is not working in UAE is that a problem ? and this problem affect the front camera "hardware"?

    minaaemile wrote:
    there somting is like not clear so  i think that the blocking of factime is affect the front camera so i want be sure if the front camera of iphone from UAE is like any iphone from another country and have the same quality ??
    The front-facing camera is available for use even without FaceTime.  If you are having issues with your front-facing camera, I suggest troubleshooting the issue:
    Basic Troubleshooting Steps when all else fails
    - Quit the App by opening multi-tasking bar, and swiping the App upward to make it disappear.  (For iOS 6 older, hold down the icon for the App for about 3-5 seconds, and then tap the red circle with the white minus sign.)
    - Relaunch the App and try again.
    - Restart the device. http://support.apple.com/kb/ht1430
    - Reset the device. (Same article as above.)
    - Reset All Settings (Settings > General > Reset > Reset All Settings)
    - Restore from backup. http://support.apple.com/kb/ht1766 (If you don't have a backup, make one now, then skip to the next step.)
    - Restore as new device. http://support.apple.com/kb/HT4137  For this step, do not re-download ANYTHING, and do not sign into your Apple ID.
    - Test the issue after each step.  If the last one does not resolve the issue, it is likely a hardware problem.

  • Why is my iphone 5 having network and battery problems after the ios 6.1.2?

    why is my iphone 5 having network and battery problems after the ios 6.1.2?

    I also forgot to mention that when it did have power, it wouldn't let me shut it off to try and conserve the battery life. Right when it powered down it would power right back up.

  • Problem with the database of BPM 10.3.1.0.0

    Hello, the BPM can not insert rows in the database, this problem is recent and I need to know how to optimize queries to avoid errors of type:
    A database transaction failed (the server tried it 1 of 1 times).
    The server will retry the database transaction or a report of the failure can be found in the log.
    Database failure details: An error occurred while accesing the database.
    Detail:SQL statement: 'DELETE FROM PWKTODO WHERE WKTDKEY = ? WKTDKEY:'caducator.'
    SQL state: null
    Stacktrace:
    An error occurred while accesing the database.
    Detail:SQL statement: 'DELETE FROM PWKTODO WHERE WKTDKEY = ? WKTDKEY:'caducator.'
    Caused by: Unexpected exception while enlisting XAConnection java.sql.SQLException: Transaction rolled back: Transaction timed out after 302 seconds

    Are you using XA Driver for your datasource , this might be the root cause , see -
    http://andrejusb.blogspot.de/2012/05/dont-use-oracles-driver-thin-xa-to.html

  • Lines and title flashing across the program monitor and in final export

    I'm seeing very thin lines flashing across the program monitor when playing a complex sequence with 7 video tracks. They draw at various angles and span the entire screen. There can be one or more showing at any time. They are colored and each line appears to be only one color, but different lines can be different colors. Some lines are solid, others are dashed. There is also a ghosty-white representation of one of my titles flashing around the screen for only a frame or two, then it flashes somewhere else.
    Sequences and Tracks:
    Base Sequence: AVCHD with disolves and color correction
    Next Sequence Layer: Base Sequence placed on tracks 1 and 2. Motion is applied to both tracks. LInearWipe and Opacity are applied to Track 2.
    (This creates an image in the center of the screen with a reflection.)
    Next Sequence Layer (1st track of the final 7): Animates Basic3D and Motion (position, scaling)
    2nd, 3rd and 4th of the seven are just like the1st. So there are 4 video screens flying around with reflections and perspective. Kind of like the iTunes album art widget - screen flies in, goes center stage, then flies back.
    Layers 5 to 7 are titles. They are also nested sequences having reflections and Basic3D, but their positions are not animated.
    My system:
    Phenom II x6 1055T
    8 Gb DDR3 1333
    3 Drives 7200 rpm (one program, one preview/conforming, one video)
    nVidia GeForce GTX 260 (3 fans attached)
    3 Case fans plus the side is open - running very cool
    MSI 890GXM-G65 Mobo
    My Project:
    Originated as a CS4 project, opened with CS5 and converted (did not import). Fixed all the title screwups, missing fonts, graphics, hooked up the off-line media etc etc. There are a couple of 1.5 hour nested AVCHD multi-camera sequences which look and play great. Then there are 2 of these monster sequences which are actually used as DVD menus and are about 44 seconds each. When I render these 7 layer menu sequences and play them back, these lines start flashing across the screen.
    Of course the GTX 260 has the GPU unlocked and that works great for the 1.5 hour programs. But if I attempt to render the 44 second monsters Premier stops responding and I have to EndTask it (all CPUs drop to idle while not responding). These monster sequences might test the power of the Quadro CX. So when I work with the menu sequences, I set Premiere to use software GPU and not MPE. Then I can render (2 hours render time to preview 44 seconds with six cores at near 100%). So it does render, slowly.
    I'm exporting an mpeg2 file now and will let you know if the lines show up in the final rendering. I can see the lines showing up on the MediaEncoder's small preview screen as it renders. Doesn't give me comfort.
    OK worst case scenario. The lines ARE in the final mpeg2 file. Makes the file unusable garbage...
    Is anyone else seeing flashing lines and titles?
    Here's a link to a still from the export to illustrate the artifacts.(face and name were blanked out by me)
    http://img23.imageshack.us/img23/5051/premierecs5lineandtitle.jpg
    Thanks

    The crop workaround was successful for removing the lines - worked great. There was the issue of the ghost text which you can see in the screenshot link provided above. This was not removed by crop. Crop removed the lines, but not the ghost. Thankfully, the 4 point garbage mask did work on the ghost and I was able to eliminate it. I had to apply the garbage mask on the sequence where Basic3D was applied not its parent sequence where VerticalFlip was used. The most important thing is that I've successfully migrated this CS4 project to CS5 and can now take advantage of 64bit processing (more RAM) to tame the beast. I'm using this sequence as a menu for a series of DVDs so my time expended will pay me back again and again.
    The asset generating the ghost was built like this...
    In the titler: Text was placed over a logo (.tiff file for logo and it was scaled and moved)
    Base Sequence: Title was brought to two, stacked tracks. VerticalFlip, and LinearWipe were applied to one which was then moved to look like a reflection of the other
    Next Sequence: Layed the Base Sequence down. Applied Basic 3D and moved it's XY position. (This is where I applied the GarbageMask to remove the ghost)
    I tried separating the logo from the text thinking that the logo feature of the titler might be the problem. So I used a separate video track and pulled in the .tiff file directly. It didn't eliminate the ghost. Applying the GarbageMask to the base sequence also didn't help. It was only after Basic3D was applied that the ghost would appear. And since I have Basic3D applied to other reflected text-only layers which do not exhibit the ghost artifact, the bug has something to do with the text/graphic combination with VerticalFlip and Basic3D.
    To top it all off, I can no longer recreate the problem. I've turned off the garbage mask and it's not showing up. While I was testing, the ghost was easy to recreate, but now I can't do it. So I don't appear to be able to drill down deeper. Perhaps it will come back at some point and I can test it further and update this thread.

  • How do i store and fetch image from the Database(Access)

    i am facing one problem in inserting the image into the database.the steps i followed as
    1)i have created one database(access) as "Image" and into that one table as "Image" and field as "image"
    type of the field is ole object.
    2)i have inserted one image into the image field through "database.vi"
    3)now i am trying to get the image from the database by "Fetching Example.vi"
    4)it will succesfully retrieve the image from that field .
    5)but when i close the both programs and reopen those that time i am unable to get retrieve the image.
    Attachments:
    Add_to_Database.vi ‏78 KB
    Fetch_from_database.vi ‏67 KB

    I would like to suggest different approach for saving the images in the database.
    I was working on Medical Imaging Company. The way we save the images in real-time was by writing the name and path of the images to database.
    The images themselves where saved directly to disk.
    I don�t think that access is very good in taking care of GBytes of data.
    It happens some time that the database gets damage. If you have the images separately you can create fix procedure. (We had one).
    Good Lack,
    Amit Shachaf,

  • Problem changing the database in runtime

    We use Crystalreports 10 and CrystalReports 11 using the TCRPE Delphi-VCL-Components (Delphi 2007)
    I have the following problem:
    We provide several database-servers: oracle, Mssql and Postgres. We connect to the database via odbc.
    We prepared some standard-reports for our customers.
    Saving them with CR10 or higher the database schema, database name and in some cases the username is stored in the reports.
    To use the report on an other system it must be saved with the new connecteion. Is there any way to change the connection with the TCRPE-Components?
    Best regards
    Christian Fried

    The following is probably the best thread to look at:
    How can I change connection information using CrystalReport VCL for Delphi?
    Ludek

  • Jdeveloper problem with the dataBase view

    Hi all
    hope your fine
    i have toad database and jdeveloper 10g installed on our
    machine. i connect our database in jdeveloper by using new
    database connection wizard.and the test connection give success ..
    the problem is i can see all the tables and views data but the views that i have access to view from another schema i can see in toad but not in jdeveolper ?!!
    so why is it ?

    Check if you have a filter defined on your database connection.
    If you can upgrade to 11g, then you'll find the other users on the "Other Users" section of the database browser.

  • Problems configuring the database cache

    I am trying to configure the db cache and running into problems with the step of starting the management engine component.
    I get:
    Starting the Management Engine Component failed
    Reason: Lost connection to cache roma-icache
    Processing failed.
    I also get a dialog box that says "Invalid login credentials for cache."
    My origin db (8.1.6) is on an HP machine and the cache db is on a sun machine - Solaris 7.
    Any thoughts?
    Thanks in advance,
    Travis

    Hi,
    Agree with Tibor. Database Mail is not supported in SQL Server 2008 R2 Express.
    Please check out the below link to determine which features are supported by the different editions of SQL Server 2008 R2.
    Features Supported by the Editions of SQL Server 2008 R2
    http://msdn.microsoft.com/en-us/library/cc645993(v=sql.105).ASPX#RDBMS_mgmt
    Thanks.
    Tracy Cai
    TechNet Community Support

  • How to configure a listener to listen on a different port rather than 1521 and register it on the database

    Hi Everyone,
    I have used 11gR2 RAC for a couple of years and now I've got this issue because I have tried to setup more than one database on RAC infrasturcture:
    I have an existing database on my RAC. (lets call it orcl) which is listening on port 1521 and is functioning properly. Now I want to create anoher database (call it test) which is going to listen on port 1526. I am able to create a listener using netca, (as oracle recommended, I've created it with grid user). I am also able to create a database using dbca (with dba user). My problems stem from when I want to configure listener to register with the new database. If i set local_listener to my newly configured database, it won't be able to tnsping and therefore login. If I create tnsnames.ora file on local or remote server, I am able to ping the database, but when I want to connect using sql*plus (or any other client) I receive TNS-12514 error. By the way, I am using AIX 7.1 as my machine.
    Let me know if any more info is required on this topic.

    > Now I want to create anoher database (call it test) which is going to listen on port 1526.
    Why? What is the purpose of using another listener? An Oracle Listener was designed to service multiple databases running on the same server. In all my years of working with Oracle and running multiple databases on the same machine, I have yet to be required to run more than one listener. And almost every single time I've seen someone try to provide rationale for multiple listeners, the technical reasons have no merit.
    > If i set local_listener to my newly configured database
    The LOCAL_LISTENER parameter does not point to a database...it points to a LISTENER!
    LOCAL_LISTENER=(ADDRESS = (PROTOCOL=TCP)(HOST=hostname)(PORT=1526))
    Cheers,
    Brian

  • I use an iMac (27" 3.4) and have problems with the Magic Mouse. It does not use contact, but opens useless and unrelated submenus with every click, even on the empty desktop. I can't shift, open or close pages. Has anyone out there the same problem?

    I use an iMac 27" (mid 2011). Until recently I had OSX 10.6.8 installed, but both, the HDD and SSD had to be replaced, and I lost all the memory.
    After the repair through Apple Care I had OSX 10.7.5. (Lion) installed, which developed a Magic Mouse problem.
    Unlike with most users, I have no problems with connection, but grapple with a different kind of erratic behaviour.
    All fancy stuff is turned off in the mouse preferences. When I try to move, open or close pages, unrelated submenus pop up and hinder the
    required task. No matter how often I click, these menus stay there, and they even come up when clicking on the bare desktop.
    It renders the mouse absolutely useless, as no work can be done with it.
    The first 'Magic Mouse' had depleted batteries every few days, despite switching it off after use.
    I was supplied a new Mouse, which does better battery-wise, but the problems are the same. I can't get a result by clicking on any link, due to
    the pop-up menus, so both 'Magic Mice' are totally useless.
    At present I am using the old USB mouse from my Mac Pro, and that works still o.k.
    The problem are not the mice, but the software. The first 2 weeks after installation of OSX 10.7.5 the Magic Mouse worked though.
    I have no idea as to what the reason may be.
    Has anyone in the community ever experienced that particular problem. Any hint would be welcomed.
    Thank you!

    Not using any mouse pad, I have a very smooth desktop. But I just tried to use a sheet of A4 printing paper, but no result, the problem persisted.
    Someone on this forum suggested, that USB3 may interfere with the magic mouse.
    I have 2 LaCie HDD's about 70 cm away from the mouse, I use them on Thunderbolt. But in operation or not - the result is the same, the mouse plays up! Just now I was clicking the desktop and the mouse created a new folder!!
    Thanks for the advice, Bee
    Cheers, Gerd

  • Secure Store Service Application takes a lot of time and does not create the database

    Hi everybody,
    I was trying to configure sharepoint performance point and I was following the instruction. After I created the performance point services application I tried to creat the secure store service application. When I do this, the progress window stays open forever
    even after 2 hours. If I close the window, I will see that the secure store service and proxy app is created and the application pool also is created in IIS but the database is not and the application service is stopped. even when I want to delete it, it's
    the same story and the progress window stays until I close it manually. Nothing has been logged in the event viewer because it doesn't throw any exceptions.
    I don't think that I have permission issues on the database server side because I have created the performance point service app and the database is there. I have used the same credentials to crete the secure store.
    I have restarted the secure store service and IIS for many times and even the server itself.
    I'm wondering if anybody has had this issue because I couldn't find anything on the web.
    Thanks,
    Edwin 

    Alex, please ignore my previous answer. I found more information in the ULS. At the time that I started creating the service application by power shell these things are logged and they are repeated several times:
       it starts with:
    11/13/2013 15:19:55.52 PowerShell.exe (0x1698)                
    0x170C
    Secure Store Service          
    Secure Store                  
    esj6 High    
    Creating Secure Store Service Application 'Secure Store Service Application'.
    c402af0c-5ff6-4995-83b8-3f95210a8b3d
    11/13/2013 15:19:55.54 PowerShell.exe (0x1698)                
    0x170C
    Secure Store Service          
    Secure Store                  
    esj9 Medium  
    Creating "database object" 'SP_SecureStore' for application. At this time database is not created.
    c402af0c-5ff6-4995-83b8-3f95210a8b3d
    11/13/2013 15:19:55.54 PowerShell.exe (0x1698)                
    0x170C
    Secure Store Service          
    Secure Store                  
    esk0 Medium  
    Saving "database object" 'SP_SecureStore' in the config db.
    c402af0c-5ff6-4995-83b8-3f95210a8b3d
    11/13/2013 15:19:55.83 w3wp.exe (0x0944)                      
    0x0DB4
    Secure Store Service          
    Secure Store                  
    d4gx Verbose
    BackgroundTasks instance accesed.
    11/13/2013 15:19:55.83 SPUCWorkerProcessProxy.exe (0x13A0)    
    0x02B0
    Secure Store Service          
    Secure Store                  
    d4gx Verbose
    BackgroundTasks instance accesed.
    11/13/2013 15:19:55.83 PowerShell.exe (0x1698)                
    0x1740
    Secure Store Service          
    Secure Store                  
    f7wk Verbose
    StartTracker called for secure store ''
    11/13/2013 15:19:55.83 PowerShell.exe (0x1698)                
    0x1740
    Secure Store Service          
    Secure Store                  
    f7wl Verbose
    Tracker not started because call not made from Service Host.
    11/13/2013 15:19:55.83 WebAnalyticsService.exe (0x0A6C)        
    0x1B88 Secure Store Service          
    Secure Store                  
    f7wk Verbose
    StartTracker called for secure store ''
    Finally it says:
    11/13/2013 15:19:55.90 PowerShell.exe (0x1698)                
    0x170C
    Secure Store Service          
    Secure Store                  
    esk9 High    
    Secure Store Service Application 'Secure Store Service Application' created.
    c402af0c-5ff6-4995-83b8-3f95210a8b3d

Maybe you are looking for

  • How can I delete an old email address from autofill?

    I have an old, (email address that is not in my address book) that is constantly showing up in my autofill when I want to send an email and it is driving me nuts.  I've tried restoring my phone; clearing prevous receipents list.  Can anyone please he

  • Format Legend Numbers

    Hi, I want to create a pie chart with data labels expressed in percent and a legend with actual numbers. It seems to me impossible to format the legend numbers in a way that they have a thousands separator if I choose to show the data labels in perce

  • Captivate 4: Never Send Resume Data feature

    I'm new to Captivate 4 and LMS. Want to make sure I understand the use of the LMS Customization Setting - Never Send Resume Data. Should that be deselected or selected in order for the user to be able to "bookmark" or return to the page where they le

  • So if tech support can't help, what's next?

    My wife & I both have Droid II phones. After the recent software update, our phones turn themselves back on as many from 1 up to 3 times after shutting them down. We have contacted  tech support and to my amazement have not helped us or indentified t

  • Please help me ! how to fix the position of NSWindow ?

    Hello everybody, I have a NSwindowController < NSWindowDelegate > (with windowWillUseStandardFrame implemented) which is supposed to fix the position of my window. Except never this method is called ! Nevertheless there is indeed a delegate... In fac