Encrypting data for testing - but keeping it legible and the right length

Hello,
I currently work with a client where one of our final stages of testing is done against test databases (9.2), maintained by the client, but holding real data, taken as a snapshot. This gives us volumes of data similar to what will be encountered in production.
The client now has a (valid) concern that our people testing the app therefore get to see 'real', if slightly out-of-date, data, particularly names and addresses, and have asked us if there's some way of hiding this from the testers, who have access to the test db both through a front-end mainly built on Oracle Forms, but also e.g. querying directly with SQL Plus.
I can't just give all the parties stored in the system the same name or address, so what I think I'd like to do is to replace the sensitive data with encrypted versions, possibly using the DBMS_OBFUSCATION_TOOLKIT. A problem with that, though, is that the encrypted data could contain any characters and may cause problems displaying in the front-end, certainly where testers have to e.g. type in a name to search on.
I could use rawtohex to convert the data into an easily read / typed format, but then the results could be too long for the existing columns and the fields in the front-ends.
Has anyone encountered a similar problem and come up with a solution?
Thanks in advance,
James

There are a variety of tools out there sold by companies to automate this sort of thing.
One relatively common, and relatively simple, approach would be to run a process that mixes and matches data from different records. That is, you take the first name from record 1, the last name from record 2, address from record 3... Of course, you'd have to figure out how sophisticated a jumbling algorithm you need depending on how sensitive the data and how performant an algorithm you need depending on data volumes.
Relatively efficient, but relatively simple to reverse, would be to use something like this to populate the tables
insert into emp( ename, sal, comm )
select ename,
      lag(sal) over( order by empno ),
      lag(comm,2) over (order by empno )
  from emp@prod_db_linkJustin

Similar Messages

  • Have not purchased music for 10 months, in the meantime card has expired, which has £1.74 in credit on it, tried to change card details to current last 4 numbers/expiry date and security code but keeps on rejecting and brings back old card details

    Have not purchased music for 10 months, in the meantime card has expired, which has £1.74 in credit on it, tried to change card details to current last 4 numbers/expiry date and security code but keeps on rejecting and brings back old card details

    Try here >  iTunes Store: My credit card's security code or zip code does not match my bank's records

  • TS3992 Hi, can someone help please - my iPhone hasn't been backed up since early August, now I can't seem to get it to back up to iCloud. I have 9GB of space, I have left it plugged in etc for 11hrs, but keep getting iPhone backup could not be complete th

    Hi, can someone help please - my iPhone hasn't been backed up since early August, now I can't seem to get it to back up to iCloud. I have 9GB of space, I have left it plugged in etc for 11hrs, but keep getting the same message " iPhone backup could not be completed" -what dies that mean.?

    Hi,
    I was facing issues with both backup and FB integration after the iOs 6 upgrade.  Before then I did not have any issues with the iCloud backup service, but after a few days, I noticed that it was continually stuck at the Estimating time for the backup and it never progressed.
    As any good techie would, I tackled the most pressing issue first . . . FB integration of course.
    I had read in a separate post about this solution so tried it . . .
    I deleted the original FB app and hard booted the phone.  I then went into settings and entered the data for FB integration.  Seconds later, I received a text message to my phone - already listed and verified in FB with a 6 digit code to re-enter instead of my password.  Seconds later I was verified and then prompted to download the FB app.  All backup and integrated.
    Then I went into the iCloud backup, turned it off . . . and deleted the last backup.  I then re-enabled backup . . . and although I thought I was going to face the same issue, after a few minutes, it moved on from Estimating time . . . to actually backing up.  It is now a small way through the backup and seems to estimate that it will take another two hours to complete.
    A good nights work.  Backup and integration all sewed up.  Good luck.
    Cheers
    Ian

  • Can't run itunes is asking for quicktime but keep getting an error message .

    can't run itunes is asking for quicktime but keep getting an error message the feature you are trying to use is on a networkresourse tha is unavailable  c:\docume~1\test\locals~1\temp\Ixp133.

    It keeps telling me to reinstall iTunes, but it continues to come back with the same error message.

  • How to handle HTTP-POST encrypted data for ECC Using proxy or RFC

    I have a scenario HTTP-POST ->PI->ECC.sender is HTTP Post  send encrypted data i need to handle the data and stored in to SAP ECC  with out decrypt using PI .what should i take for receiver  can i use inbound proxy or RFC  and how can handle the encrypted data  for decrypt.
    Regards
    Ravi

    1. my sender is HTTP POST . what should i configure in sender communication channel in SAP PI .like SOAP or HTTP .What are the parameters i need to pass .
    >>>
    If you are on PI 7.3 and above, configure the HTTP AAE adapter - Configuring the Java HTTP Adapter on the Sender Channel - Advanced Adapter Engine - SAP Library
    2.while using inbound proxy for encrypted data  i need  store the data in to table , the same proxy can i call  another outbound  service for decrypt  same data.
    >>>>
    Yes you can always a proxy within a proxy.

  • Trying to download Photoshop CS3 for Mac but keep getting error message  (HTTP ERROR: 404 /support/downloads/dlm/main.jsp, RequestURI=/support/downloads/dlm/main.jsp)

    Trying to download Photoshop CS3 for Mac but keep getting error message  (HTTP ERROR: 404 /support/downloads/dlm/main.jsp, RequestURI=/support/downloads/dlm/main.jsp)

    Jessicawaters are you trying to download from Download CS3 products?  If so then please try a different web browser.

  • HT2712 Network ip address keeps changing and for some reason I can't find the right settings. The diagnostics says to check with my network  administrator,  but idk whom that is being at a motel and all. I have made. New locations, & changed the ipv4 addr

    Network ip address keeps changing and for some reason I can't find the right settings. The diagnostics says to check with my network  administrator,  but idk whom that is being at a motel and all. I have made. New locations, & changed the ipv4 address. Help plz

    Hmmm, is Network set to using DHCP?
    Go to System Preferences
    Click Network
    Highlight AirPort and click Configure...
    Choose “By default, join: Preferred networks”
    Select your access point and Remove your access point with the minus button.
    Launch your keychain access in Utilities and delete your access point keychain entry.
    Reboot
    Go back to the “By default, join:” page and click the plus this time to add your access point. Enter the correct password, save, reboot.
    Instead of joining your network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed

  • I have a new ipad air and my own apple id. My wife has iphone and her own apple iD.  All our music is in her apple id.  can i sync both ipad and phone for music but keep my ipad separate from her iphone ?

    I have a new ipad air and my own apple id. My wife has iphone and her own apple iD. 
    All our music is in her apple id.  can i sync both ipad and phone for music but keep my ipad separate from her iphone for everything else?

    How to use multiple iPods, iPads, or iPhones with one computer
    http://support.apple.com/kb/HT1495
    How to Share a Family iPad
    http://www.macworld.com/article/1163347/how_to_share_a_family_ipad.html
    Using iPhone, iPad, or iPod with multiple computers
    http://support.apple.com/kb/ht1202
    iOS & iCloud Tips: Sharing an Apple ID With Your Family
    http://www.macstories.net/stories/ios-5-icloud-tips-sharing-an-apple-id-with-you r-family/
    How To Best Use and Share Apple IDs across iPhones, iPads and iPods
    http://www.nerdsonsite.com/blog/2012/06/07/help-im-appleid-confused/
     Cheers, Tom

  • HT1338 I have tried to download the upgrade for months but keep getting an error message to I have go to to the apple store.  Cannot find a contact number to resolve this issue?

    I have tried to download the upgrade for months but keep getting an error message to I have go to to the apple store.  Cannot find a contact number to resolve this issue?

    Apple Store Tel: 1-800-692-7753
    Best.

  • I have an iPad 2 connected to airport express so that I can play and change music whilst I am teaching ballet class. Recently, I keep losing connection and the airport express gets quite hot. I have alway used Archos but changed to Apple for reliability!

    I have an ipad 2 with airport express that I use to play and change music whilst teaching ballet class. Recently, I keep losing connection and the airport express appears to be getting quite hot. I did use Archos but changed to Apple for reliabilty! Can anyone help or should I just buy a new airport express.

    I agree that it's probably interference. Only other possibility, since you mentioned it, it overheating. Is the express situated so that it is well ventilated? That is to say, not buried under other equipment and laying on its side? What does the status light do when you lose connection?
    CB

  • I got an update message for iOS 7 but can't download as it keeps shutting down and the wheel goes so slow that you can hardly see it moving and says it will take 5-6 hours to download approx. 64 megabytes

    I got an update message for iOS 7 but can't download as it keeps shutting down and the wheel goes so slow that you can hardly see it moving and says it will take 5-6 hours to download approx. 64 megabytes

    Which way are you trying to update - iTunes or WiFi in the iPad settings? Try switching from one method to the other method. If you don't have a computer and need to use WiFi, try closing all apps and then reboot your iPad and try again.
    Go to the home screen first by tapping the home button. Double tap the home button and the recents tray will appear with all of your recent apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of all of the apps in the recents tray. Tap the home button or anywhere above the task bar when you are done.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.
    It wouldn't hurt to reboot your router either by unplugging it from power for about 30 seconds, plug it back in, let it fully start up and then try to update again.

  • I have the new iOS 6.1.2 on my iPad.  My wifi connects to my home network but keeps dropping it and won't reconnect.  Did not have this problem with previous iOS.

    I have the new iOS 6.1.2 on my iPad.  My wifi connects to my home network but keeps dropping it and won't reconnect.  Did not have this problem with previous iOS.  Apple, you have a quality assurance issue.  Don't be like Microsoft where they send out pieces of junk with testing it.

    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • How do i change an apple id on an iphone 4 but keep my contacts and calendars in the process?

    Hi ive had 2  iphone 4's under the same apple id for the past yr. One phone is my fathers and the other phone is mine. I want to create an apple id for my dad and change his apple id on his iphone but keep his contacts and calendars. Can that be done and how do i do it?

    Run iTunes, and you can select all the music that is on there and delete it if you wish.  Then deauthorize the computer from your account if she won't be playing any of the music you bought on your account (this can be done under the store tab).  Then have her sign out of your account on iTunes and then sign into hers.  Also have her authorize the computer for her account.

  • How can I burn a copy of my project to a DVD . I do not have IDVD because I have the Lion os. I did purchase Wondershare for burning but it will not load the iMovie events or projects

    How can I burn a copy of my project to a DVD . I do not have IDVD because I have the Lion OS. I did purchase Wondershare for burning but it will not load the iMovie events or projects

    There is no proper substitute for iDVD.
    Why is there no iDVD on my new Mac?
    https://discussions.apple.com/docs/DOC-3673
    UPDATE & ADDENDUM:
    But even though you can still buy iLife 11 that includes iDVD 7 from Amazon, Apple now make it difficult to install:
    Poster jhb21939 posted this in another thread:
    “when I attempted to load iDVD into a new iMac. A notice came up on the screen stating that the 'Authorisation Licence' had expired on 25 March this year (2012).
    I contacted the Apple support team and eventually, I was told that the Licence had been withdrawn and could no longer be used.”
    In other words Apple are now so adamant that we don’t use iDVD that they have tried to make it impossible to install.
    In response, Old Toad posted this solution:
    “You can still use it one all of your Macs.  If you get an invalid certificate message just set your Mac's clock to sometime before early 2011 and run the installer.  After you're done reset the time back to the correct time.” He added this comment:
    “It began after iDVD and iWeb were discontued and they were dropped from the Apple Store. All I can think of is the certificate was set to expire after a certain time period after the intitial iLife disc was released.
    I've been able to use the installer even without setting back the date.  I just clicked on the Continue button and it would work as expected.  For some it would not continue unless the date was set back.”
    The latest anorexic iMacs just announced do not even include a CD drive! Proof positive that Apple virtually prohibit the use of DVDs - although the newly announced Mac Minis do include a Superdrive.
    Yet, they still include iMovie! Heaven alone knows or understands what you are supposed to do with your newly edited masterpiece - except make a low quality version for YouTube?

  • I am using Adobe Pro 11 and on opening a pdf I am getting error 'Insufficient Data for an Image'. Please help and provide a workaround if the solution not there.

    Hi all,
    I am using Adobe Pro 11 and on opening a pdf I am getting error 'Insufficient Data for an Image'. Please help and provide a workaround if the solution not there.
    I have already set the preferences to for page view to low zoom settings, and page fit view settings, but it never opens the pdf. Please check and provide a solution asap.
    Thanks in advance!

    Most of the documents have sensitive info on them.  I will have to do some looking for some that i can share, but will get something to upload (dropbox) as soon as I can.
    Thanks for you help.

Maybe you are looking for