DCP encrypted file to un encrypted file

Hi All,
I have a collegue who has a movie and the person who for whatever reason encrypted the file. I was hoping to import then re export the file using CS6 as an unencrypted file, for delivery.
After reading a bit about it, it is suggested or instructed to export the DCP onto it's own HDD for whatever type of Projector it is to be played back on.
Is that the case? Or as I recieved the file a "dropbox" may I just re-render the file via ME and export it as an un encrypted file?
If so, please if you would, share with me the steps or resource to do so and maybe some heads up on what to watch out for.
Thanks for any direction on this one
Regards
NC

Hi JP,
Thanks for taking the time to ask. I was wondering about the whole process. I read your stuff (great info BTW) However, I did some further searching and found that ( I may be mistaken?) the encrypted key that is used to 'unlock' the file to preview it. Does have a limited amount of time and or times to access it. So one could get locked out, or miss the window to view it? Correct me if I am wrong please.
Also, if all were perfect, window and code to unlock the file; when exporting it, must I export it to a hard drive projector friendly? Or can I just export the file and if the person receiving the file just places it on a hard drive that the 'type' of projector being used is copasetic with?  OR is there a format issue that is required for that HDD? I hope this was clear. Thanks again
NC

Similar Messages

  • Where should DNG profile editor install the .dcp file?

    Just made my first attempt to create a custom camera profile using the X-Rite color checker passport and the DNG Profile Editor.
    Thanks to the excellent tutorial, the process went smoothly.  Next I took the final step of exporting the profile (.dcp) file, expecting to find the new profile when I opened an image in ACR.  Unfortunately the new profile was not listed in the Camera Profile dropdown menu.
    After much searching I discovered that the profile was written to the folder containing the .dng images used to construct the profile.  Obviously not where it belongs in order for ACR to find it.   I assumed that "Export Profile" would automatically write the .dcp file to the proper location.
    Where should the .dcp files be installed for Win7x64 running ACR 8.2.?
    Is there a way to establish the proper location as the default in the Profile Editor?
    Thanks for your help.

    Custom-created .DCP profile files go into the following location under your Windows Users folder:
    C:\Users\YourUserName\AppData\Roaming\Adobe\CameraRaw\CameraProfiles
    The AppData folder is a hidden-system folder so you may need to turn on the viewing of those type of folders in your Explorer folder view options or just type \AppData into the folder address area and hit Enter once you get to your username folder.

  • Lightroom *.dcp files

    I use LR2.2 under Mac OSX, I find that I have multiple *.dcp files for the Leica M8 -
    In Camera Profiles/Adobe Standard I have:
    Leica M8 Adobe Standard.dcp
    Leica M8 Digital Adobe Standard.dcp
    Leica M8 Digital Camera Adobe Standard.dcp
    M8 Digital Camera Adobe Standard.dcp
    In Camera Profiles/Camera/Leica M8 I have:
    Leica M8 Camera Standard.dcp
    Leica M8 Digital Camera Camera Standard.dcp
    Leica M8 Digital Camera Standard.dcp
    M8 Digital Camera Camera Standard.dcp
    All files in each folder have the same Creation Date and size.
    Can anyone help me ...
    1. Where did they all come from?
    2. In the Camera Profiles in LR2 I get "acr3.6, acr4.4, Adobe Standard, Camera Standard" as options, which of the above files would I be using when I select one the 'Standard Options'?
    3. Which are the ones I should be using? (i.e. which files should I delete?
    4. Or are they all the same?
    Thank-you in advance - I like to know what I am using!!
    David H

    >1. Where did they all come from?
    You installed them with LR 2.2
    >2. In the Camera Profiles in LR2 I get "acr3.6, acr4.4, Adobe Standard, Camera Standard" as options, which of the above files would I be using when I select one the 'Standard Options'?
    The standard one is "Adobe Standard". This is the one you should get when you hit reset in Lightroom if you haven't changed the camera defaults. The camera standard will make the colors match that of a jpeg shot in camera with all-default settings. The acr ones are mostly historical.
    >3. Which are the ones I should be using? (i.e. which files should I delete?
    You should delete none of them. Lightroom automatically picks the right one depending on what you select in the calibration section. Just leave those files alone.
    >4. Or are they all the same?
    No. My guess is there are different copies of the M8 that identify themselves differently in their RAW files. This might necessitate multiple issues of the same profile.

  • No camera profiles for D90 and D80 files in ACR 8.3?

    Hello,
    I recently bought in to Adobe's Creative Cloud and downloaded the latest version of Photoshop and ACR. I love the new process and everything about the new Photoshop, however, when I went to re-edit some older images taken with a Nikon D80 and D90, there were no profiles to be found under the camera calibration tab. What gives? My only option for D90 files is "ACR 4.6" and "ACR 4.4 and 3.6" for the D80 files. Where are all the rest? What am I missing? What's strange is that they are all there in Lightroom. I hate Lightroom, though, and would prefer to continue working within ACR if possible.
    Thanks a ton for any insight.

    Here is what I have for D90 camera profiles in the Camera\Nikon D90 and Adobe Standard folders under ProgramData with PS-CC and ACR 8.3 installed:
    C:\ProgramData\Adobe\CameraRaw\CameraProfiles\Camera\Nikon D90>dir
    Volume in drive C is C - Boot
    Volume Serial Number is 26BE-4B1F
    Directory of C:\ProgramData\Adobe\CameraRaw\CameraProfiles\Camera\Nikon D90
    01/11/2014  02:51 PM    <DIR>          .
    01/11/2014  02:51 PM    <DIR>          ..
    03/18/2013  11:32 AM           112,100 Nikon D90 Camera D2X Mode 1.dcp
    03/18/2013  11:32 AM           112,100 Nikon D90 Camera D2X Mode 2.dcp
    03/18/2013  11:32 AM           112,100 Nikon D90 Camera D2X Mode 3.dcp
    03/18/2013  11:32 AM           112,100 Nikon D90 Camera Landscape.dcp
    03/18/2013  11:32 AM           112,098 Nikon D90 Camera Neutral.dcp
    03/18/2013  11:32 AM           112,098 Nikon D90 Camera Portrait.dcp
    03/18/2013  11:32 AM           112,098 Nikon D90 Camera Standard.dcp
    03/18/2013  11:32 AM           112,096 Nikon D90 Camera Vivid.dcp
                   8 File(s)        896,790 bytes
    C:\ProgramData\Adobe\CameraRaw\CameraProfiles\Adobe Standard>dir *D90*
    Volume in drive C is C - Boot
    Volume Serial Number is 26BE-4B1F
    Directory of C:\ProgramData\Adobe\CameraRaw\CameraProfiles\Adobe Standard
    03/18/2013  11:32 AM            55,838 Nikon D90 Adobe Standard.dcp
                   1 File(s)         55,838 bytes
    I believe these profiles can also come from installing the DNG Converter 8.3, so if the profiles don't seem to exist, then try downloading and installing the DNGC 8.3 from:
    http://www.adobe.com/downloads/updates

  • How do i retrieve file vault protected files from an external hard disk that used to be my mbp's hard drive? the hard disk got corrupted and will no longer boot. I put it in an enclosure and attempted to copy my files but failed because of FV encryption.

    This external hard disk used to serve as the main drive of my mbp. It got corrupted and the OSX would no longer load. I upgraded to a 500gb hd and used the old hd as an external drive. I tried to copy my files but i could not access them because of the filevault encryption. 110gb of hd space appears as used which means that my files are still in the drive. Is there a way to retrieve these files? thanks

    According to your post, you're using Leopard, so FileVault only encrypts your user folder (unlike Lion). On the mounted external drive, in your user folder, you should see a file called username.sparsebundle, with username being your user name. Double-click that file to open it and it should prompt you for a password. Type in your password and the file will mount as a volume in Finder. You should be able to copy all of your files over.

  • IPad: Open AES-encrypted zip files?

    Is there an app which allows one to open zip files that were encrypted with AES-128 or AES-256?  There was a discussion last year (https://discussions.apple.com/message/12429143) saying that there were none at the time, but I'm hoping for some progress since then.  GoodReader, Filer LIte, and USB Disk Pro all failed to read files encrypted with either algorithm.  Thanks,
    John

    Is there an app which allows one to open zip files that were encrypted with AES-128 or AES-256?  There was a discussion last year (https://discussions.apple.com/message/12429143) saying that there were none at the time, but I'm hoping for some progress since then.  GoodReader, Filer LIte, and USB Disk Pro all failed to read files encrypted with either algorithm.  Thanks,
    John

  • Unable to delete files from encrypted external SD Card using File Commander

    I've run into some trouble trying to delete the directory com.spotify.music from my external SD Card (encrypted) after a hard reboot using the reset button next to the sim card.
    I need to do this for the Spotify app to work (FC on starting it) and I'm currently unable to delete the folder and its contents from Sony provided file explorer(FC File Commander).
    Is there a way to delete this app from adb or other command line tool or how should I go about this? Developer options are enabled because I'm learning to develop apps. Not particularly keen on rooting or otherwise format my SD Card but it's an option if there are no other ways to do it. 
    I can see the contents of my card using File Commander just fine. Spotify app is uninstalled, I tried remove cache and data before uninstall also.

    Thommo wrote:
    Are you able to delete files via your Pc or are you able to remove the card from your phone and connect it to a Pc for file deletion - There is a free program called Unlocker currently on version 1.9.2 which is excellent at deleting files that don't want to be deleted - You would install the program then right click the file and choose Unlocker and then when the program starts choose delete
    I guess he will not be able to move the SD card to the computer since it's encrypted and is working only with that particular device, but he should be able to access it via PC.
    If you can try to uninstall Spotify from your phone. I assume Spotify is not working due to some rubbish inside it's directory, but on the other hand you can't delete the folder because it may be used by Spotify. If you uninstall app folder may be unlocked.
    Best regards,
    Sergio PL
    Xperia Z1 / Nexus 7 (2012)

  • Reading Encrypted Password from Configuration File and Decrypt it at login

    Hi All,
    My application reads a configuration file to connect to the ORACLE database. The values defined for password are clear text as given below:
    user: 'mh'
    password='abcd1234'
    Is there is any way I can give an encrypted password in the configuration file instead of a clear text file and at the time of login ORACLE decrypts it. I am using ORACLE 11g Database.
    My company have a requirement that passwords are not stored in the clear in properties files. the reason being I suppose that if the password is stored in plaintext someone could hit the property file directly, get the password and then connect to the database with it.
    For a regular user connecting through an Oracle client or SQL Developer they would need to have the plaintext password in order to connect.
    its based on the requirements of
    International Standards Organization Guidance
    ISO 17799 � 9.5.4 requires password management systems to:
    � enforce the use of individual passwords
    � allow users to select and change their own passwords if appropriate
    � enforce a choice of quality passwords
    � force regular changes of passwords
    � maintain a record of previous user passwords to prevent re-use
    � not display passwords when they are being entered
    � store password files separately from application system data
    � store passwords in encrypted form using a one way encryption algorithm
    � alter default vendor passwords following installation of software
    So if I can store the password encrypted using a one way algorithm then hacker/user couldn't decrypt it and then access the database.
    I have feeling there is a way of configuring this in Oracle advanced Security, but just can't quite get it to work.
    Edited by: user5568473 on 20-May-2013 00:05

    So if I can store the password encrypted using a one way algorithm then hacker/user couldn't decrypt it and then access the database.... and neither can your application. Encryption is needed in this case. The decryption must be written into your application. I've written my own in some cases, but finding a library for your development language is a smarter solution.
    One alternative is using an Oracle wallet. It doesn't fit every circumstance and does have some maintenance headaches.
    You can set up a basic secure password store to encrypt and store the password for a given user@instance combination, and then connect to the database without passing a password. SQL*Net adds in the appropriate password from the wallet for when you connect.
    http://www.oracle.com/technetwork/database/security/twp-db-security-secure-ext-pwd-stor-133399.pdf
    Advanced Security Option also allows you to set up a Public Key Infrastructure connections (SSL encryption and/or authentication). It also uses a wallet to store the SSL certificates and credentials. I don't have personal experience on this approach.
    SSL and the wallet allow you to connect to the database similar to CONNECT/@net_service_name or sqlplus /@net_service_namehttp://docs.oracle.com/cd/B28359_01/network.111/b28530/asossl.htm#CIHCBIEG

  • Memory does not get released after encrypting/ decrypting files.

    I am using javax.crypto package to encypt/decrypt files but the problem is that once a big file (around 100- 700 mb) is encrypted there is spike in memory of 70 Mb (first time) and whole of this memory is not released after execution is finished. I have kept my application run for days but this memory do not come down.
    Interesting thing is if I encrpyt/ decrypt the same file again and again the memory do not rise by 70 Mb, but for first 3-4 iterations 5-8 Mb of memory is released in each iteration and after that memory starts increasing again in chunk of 2-5 Mb and after few iteration some memory get released but in all the memory always increases. The code to encrypt file is simple
    Cipher c = Cipher.getInstance("AES/CBC/PKCS5Padding");
    byte[] salt = generateRandomBytes(16);
    Rfc2898DeriveBytes rfc = new Rfc2898DeriveBytes("123456", salt, 1000);
    SecretKey key = new SecretKeySpec(rfc.getBytes(32), "AES");
    c.init(Cipher.ENCRYPT_MODE, key );
    FileOutputStream fos = new FileOutputStream(encryptedFile);
    CipherOutputStream cos = new CipherOutputStream(fos);
    FileInputStream fis = new FileInputStream(largeInputFile);
    int len = 0;
    byte[] buf = new byte[1024 * 128];
    while((len = fis.read(buf)) != -1) {
       cos.write(buf, 0, len);
    cos.close();
    fis.close();
    This is simple observation I have seen in my program:
    I am using Windows 7 64 bit with 16 GB RAM Intel Core 2 Duo 3.00 GHz and file encrypted was 700 MB size
    Explanation
    Memory Usage (As shown in Windows Task Manager Private Working Set column)
    When program starts
    9924 K
    After first iteration of encryption
    81,180 K
    Second Iteration
    78,254 K
    3 Iteration
    74,614 K
    4 Iteration
    69,523 K
    5 Iteration
    72,256 K
    6 Iteration
    70,152 K
    7 Iteration
    83,327 K
    8 Iteration
    85,613 K
    9 Iteration
    95,124 K
    10 Iteration
    92,698 K
    11 Iteration
    94,670 K
    I kept the iteration on for 2000 iteration, the same pattern was observed and at the end memory usage 184,951 K, this memory was not released after calling System.gc() also.
    What could be the possible problem, is it the CipherOutputStream or Cipher class having some memory leak or I am doing something wrong here?

    ash wrote:
    We are using WebLogic Server 7.0 runing on Solaris 2.7.
    We are experiencing a problem where the memory does not seem to be released after
    the application has been shut down.What do you mean by "application has been shut down"? Is the server
    process running or not? Is it a zombie?
    The
    Unix 'top' command reports that memory has not been reclaimed by the O/S. What exactly has it reported? If the process is gone, then I'm pretty
    sure your O/S has reclaimed the memory. What exactly are you looking at
    in top?
    -- Rob
    > Continue
    restarting it will forces us to reboot the server as there will be more and more
    memory lost when restarting the WebLogic.
    Advice to fix the problem is much appreciated. Thanks.

  • I am trying to open PDF files from safari, but when I click on them they open in a separate window and the information is encrypted. Any ideas on how to get them to open them in Adobe? Any help please!

    I am trying to open PDF files from safari, but when I click on them they open in a separate window and the information is encrypted. Any ideas on how to get them to open them in Adobe? Any help please!

    The pdf is loading as html code. If you save it, it will download as :
    605124.pdf.html
    Change the extension to .pdf
    And it opens and works perfectly, I just tested it:
    Use this link to download it automatically:
    http://saladeaula.estacio.br/arquivo.asp?dir=00/1020624/605124.pdf&num_seq=59828 4

  • I am unable to open some file because there is "encrypt contents to secure data" attribute applied by me before format my pc

    Please see this chat session
    Shayne M: 
    3:03:06 PM 
    Hi, thanks for visiting Answer Desk! I'm Shayne M.
    You: 
    3:03:24 PM 
    Hi! I am Surendra from Lucknow Inida.
    Shayne M: 
    3:03:37 PM 
    Hello
    How can I help you?
    You: 
    3:05:35 PM 
    Madam my some file in green color and i am unable to open these file because there is encryption attribute applied by me some time before and now i am unable to remove encryption from my files
    because today I format my system please help me
    Shayne M: 
    3:06:01 PM 
    oh, sorry to hear that.
    may I know what type of files is that?
    is that a word file?
    You: 
    3:07:37 PM 
    many type files excel pdf doc docs and many more some programs also encrypted, and some folder also encrypted.
    Shayne M: 
    3:07:48 PM 
    I see.
    may I know what version of windows do you have?
    You: 
    3:08:53 PM 
    Window 7 Professional
    Shayne M: 
    3:09:16 PM 
    I see, thanks.
    Click here (Link Silverlight)
    you can try that link
    Dial toll-free: 1800 102 1100 or 1800 111 100
    Direct dial: +91 80 40103000
    or dial that number for Microsoft India.
    any other questions for me?
    You: 
    3:10:34 PM 
    I am downloading silverlight.exe please wait
    Shayne M: 
    3:10:41 PM 
    okay.
    please try the link I gave you, if that will not work, feel free to contact us back so we can look for any other options for you,
    you may also contact the number I gave you for Microsoft India support.
    You: 
    3:13:40 PM 
    program install successfully what to do now ?
    Shayne M: 
    3:13:59 PM 
    please follow the intructions I gave you.
    it's on the link.
    You: 
    3:14:45 PM 
    please repeat
    Shayne M: 
    3:14:53 PM 
    Click here
    (Link Silverlight)
    there you go,
    if that will not work,
    feel free to contact us back
    You: 
    3:15:11 PM 
    please wait i am reading
    Shayne M: 
    3:15:23 PM 
    Dial toll-free: 1800 102 1100 or 1800 111 100
    Direct dial: +91 80 40103000
    or you may dial that number/
    just take your time reading that. I cannot stay any longer Surendra.
    anything else?
    You: 
    3:17:18 PM 
    I am unable to remove attribute till now
    Shayne M: 
    3:17:28 PM 
    alright,
    you may contact the number I gave you for further assistance.
    Dial toll-free: 1800 102 1100 or 1800 111 100
    Direct dial: +91 80 40103000
    that's Microsoft for India.
    You: 
    3:18:43 PM 
    ok
    Shayne M: 
    3:18:43 PM 
    anything else?
    Thank you for contacting Microsoft Answer Desk, you Have a Great Day,Take care.
    You: 
    3:19:04 PM 
    thank you
    Shayne M: 
    3:19:10 PM 
    you're welcome.
    Your Answer Tech Shayne M has ended your chat session. Thanks for visiting Answer Desk.

    Hey guys,
    So this is follow up from my debarkle with the EDD. I found out my problem with copying files from Mac to EDD and vice versa was a result of a not so good EDD ( i had an apollo hard drive from imation) that was not very compatible with macs. So i did my research and found out that the best hard drives were Western Digital and Seagate. I bought the newest western digital EDD 1TB and formated it to FAT32 and guess what...no problems so far. The only problem is that FAT32 format doesn't copy files larger than about 4 gigs so i couldnt copy a movie from my brothers computer onto my EDD that was 1080p. You could probably resolve that by partitioning a small part of your hard drive in ExFAT? but yeah, hopefully that helped guys.
    Aaisha

  • Access Denied when trying to open a file that is encrypted on network share with EFS

    I just recently enabled EFS on the default domain policy and created a new network share, encrypted a file and added myself to that file and tried to open the file from my workstation.  I then receive an error "Access denied", I also tried
    to create a file and encrypt it on that same share and get an error "The requested operation cannot be completed.  The computer must be trusted for delegation and the current user account must be configured to allow delegation."  
    My steps.
    1. Enable group policy for EFS, removed the expired certificate that was already there and Created a new Data recovery agent.
    2. Created a network share, created a test file, enabled encryption on the file 
    3. certmgr.msc, personal and requested a new certificate, Basic EFS
    4. On the network share and properties of file, advanced, details and added the user
    5. from the workstation tried to access the file, Access Denied.  I can create any file I won't just can't add attributes to encrypt the file or open an encrypted file
    Now if I go to the server where the CA is located which is also the AD server and create share and run the same process it works as expected.  I'm guessing I have to export the cert from the CA server as a pfx and import that to both the server that
    has the network share and the workstation but that still doesn't seem to work.  Maybe I don't understand how EFS works and this is not possible?  Any suggestions would be appreciated.

    You are correct in not understanding how EFS works.
    When you connect to an encrypted file via a network share, the encryption/decryption takes place *on* the server. To enable over the network access, the server's computer account must be trusted for delegation.
    The server actually impersonates the user and creates a user profile on the server (containing the defined EFS certificate and private key). The important thing to remember is that the files is transmitted in clear text from the server to the client.
    See http://blogs.technet.com/b/instan/archive/2010/08/11/remote-efs-decryption-and-trusted-for-delegation-requirements.aspx
    Brian

  • Encryption/Decryption  failure for pdf and MSWord files

    Hi,
    Is there anybody to help me to find out what is wrong with my class (listing below)? I am sucessfuly using this class to encrypt and decrypt txt, html files but for unknown reasons I am unable to use it for e.g. pdf files. The encrypion somehow works but any atempt to decrypt is a failure.
    /* This class accepts an input file, encrypts/decrypts it using DES algorithm and
    writes the encrypted/decrypted output to an output file. DES is used in Cipher
    Block Chaining mode with PKCS5Padding padding scheme. Note that DES is a symmetric
    block cipher that uses 64-bit keys for encryption. A password of length no less
    than 8 is to be passed to the encryptFile/ decryptFile methods. This password is
    used to generate the encryption key. All exception handling is to be done by
    calling methods. These exceptions are thrown by encryptFile/ decryptFile methods.
    The input buffer is 64 bytes, 8 times the key size.
    import java.io.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import java.security.*;
    import java.security.spec.*;
    public class Crypto
    public Crypto(FileInputStream inStream_, FileOutputStream outStream_)
    fInputStream_ = inStream_;
    fOutputStream_ = outStream_;
    public void encryptFile(String password_) throws InvalidKeySpecException, InvalidKeyException,
    InvalidAlgorithmParameterException, IllegalStateException, IOException, Exception
    DataOutputStream dataOutStream_ = new DataOutputStream(fOutputStream_);
    // key generation
    SecretKey encryptKey_ = createEncryptionKey(password_);
    // Cipher initialization
    Cipher cipher_= Cipher.getInstance(cipherType);
    cipher_.init(Cipher.ENCRYPT_MODE, encryptKey_);
    // write initialization vector to output
    byte[] initializationVector_ = cipher_.getIV();
    dataOutStream_.writeInt(initializationVector_.length);
    dataOutStream_.write(initializationVector_);
    // start reading from input and writing encrypted data to output
    while (true) {
    inputLength_ = fInputStream_.read(input_);
    if (inputLength_ ==-1) break;
    byte[] output_ = cipher_.update(input_, inputOffset_, inputLength_);
    if (output_ != null)
    dataOutStream_.write(output_);
    // finalize encryption and wrap up
    byte[] output_ = cipher_.doFinal();
    if (output_ != null)
    dataOutStream_.write(output_);
    fInputStream_.close();
    dataOutStream_.flush();
    dataOutStream_.close();
    public void decryptFile(String password_) throws IllegalStateException, IOException, Exception
    DataInputStream dataInStream_ = new DataInputStream(fInputStream_);
    // key generation
    SecretKey encryptKey_ = createEncryptionKey(password_);
    // read initialization vector from input
    int ivSize_ = dataInStream_.readInt();
    byte[] initializationVector_ = new byte[ivSize_];
    dataInStream_.readFully(initializationVector_);
    IvParameterSpec ivParamSpec_= new IvParameterSpec(initializationVector_);
    // Cipher initialization
    Cipher cipher_= Cipher.getInstance("DES/CBC/PKCS5Padding");
    cipher_.init(Cipher.DECRYPT_MODE, encryptKey_, ivParamSpec_);
    // start reading from input and writing decrypted data to output
    while (true) {
    inputLength_ = fInputStream_.read(input_);
    if (inputLength_ ==-1) break;
    byte[] output_ = cipher_.update(input_, inputOffset_, inputLength_);
    if (output_ != null)
    fOutputStream_.write(output_);
    // finalize decryption and wrap up
    byte[] output_ = cipher_.doFinal();
    if (output_ != null)
    fOutputStream_.write(output_);
    fInputStream_.close();
    fOutputStream_.flush();
    fOutputStream_.close();
    // the following method creates the encryption key using the supplied password
    private SecretKey createEncryptionKey(String passwd_) throws InvalidKeySpecException,
    InvalidKeyException, NoSuchAlgorithmException
    byte[] encryptionKeyData_ = passwd_.getBytes();
    DESKeySpec encryptionKeySpec_ = new DESKeySpec(encryptionKeyData_);
    SecretKeyFactory keyFactory_ = SecretKeyFactory.getInstance(algorithm_);
    SecretKey encryptionKey_ = keyFactory_.generateSecret(encryptionKeySpec_);
    return encryptionKey_;
    private FileInputStream fInputStream_;
    private FileOutputStream fOutputStream_;
    private final String algorithm_= "DES";
    private final String cipherType= "DES/CBC/PKCS5Padding";
    private byte[] input_ = new byte[64]; // The input buffer size is 64
    private int inputLength_;
    private final int inputOffset_= 0;
    }

    Please can u give me refined code for me///
    at [email protected]
    Hi,
    I found at least one thing wrong. In the decrypt
    method you are reading from 'fInputStream_' rather
    than 'dataInStream'.
    Worked for me on MSWord after changing this!
    Roger
    // start reading from input and writing decrypted
    ted data to output
    while (true) {
    inputLength_ = fInputStream_.read(input_);
    if (inputLength_ ==-1) break;
    byte[] output_ = cipher_.update(input_,
    input_, inputOffset_, inputLength_);
    if (output_ != null)
    fOutputStream_.write(output_);

  • How do I Remove password-encryption in a PDF file

    Hello
    Can anyone help me remove the password encryption on a PDF file? I am trying to submit a PDF file to a on demand printer & they di accept the file if it is password-encrypted.
    Thanks

    I have no idea why the printer thinks there is a password? When I opened the security link in Acrobat nothing is selected? So I'm stuck. I also opened the PMD thinking there was some password attached there & I found nothing?

  • Need To Open An Encrypted PDF File That I Created.  No Password.

    I have Acrobat 8.  I created a document and then tried to put security on it.  Now I cannot even open the document.  It gives me the message:  "You do not have access rights to the encrypted document."  I never entered a password or anything.  I need to get this document reopened.  Also, I pasted some JPEG signatures into the document.  My reason for security measures was to make sure nobody could edit the document and right click and save as the signature JPEG.  First thing first- getting the document opened.  Then let me know how to just make it so that someone can only read and print the document and not be able to edit any typewriter insertions.  PLEASE HELP!!!!

    Hi Dom,
    Let's start with Certificate Security is not the same as Password Security. If you had encrypted the PDF file using Password Security, then whatever password you used to lock the document you would use to unlock the document. It's pretty straight forward, and in the cryptography world it would be know as symmetrical security in that you use the same key (password) to lock and unlock the file. Think of it as using a key to lock your front door to your house when you leave and the exact same key to unlock the door when you return, that's what symmetrical security is.
    Certificate security is a totally different beast. Certificate Security uses asymmetrical encryption meaning there are two different keys involved, a public key and its corresponding private key. When these keys are generated there is a voodoo that goes on that gives these two keys a symbiotic relationship in that (and this is the basic tenet of asymmetrical encryption) what one key locks only its corresponding other key can unlock. Either key can lock (really encrypt) something and only its corresponding other key can unlock (decrypt) it once it's been locked. Of these two seemingly magical keys one is designated as a private key that only the key owner has access to, and the other is designated as a public key that the whole world has access to. If you lock something with your private key then only its corresponding public key can unlock it, and yes that means that not even the private key can unlock it. You can also lock something using the public key in which case only the corresponding private key can successfully unlock it.
    When you encrypt (think of that as "lock") a PDF file using Certificate Security you are encrypting the file using one or more public keys. That is, you encrypt the file for a list of recipients where each recipient has provided you with their public key and they in turn will decrypt the document using their private key. The number of recipients is theoretically limitless, but practically there is a limit in that each recipient you include will cause the file size to grow a little and at some point you'd make the file size too large for the computer to handle, but for the sake of our discussion think unlimited number of recipients. When you encrypted the file you were asked to select a recipient. If you don't also select yourself as a recipient then you end up locking yourself out of the file, and that's exactly what happened in your case. I see from above that you are using version 8, but I believe it was version 9 where we added the warning to make sure to add yourself as a recipient so as to not lock yourself out of the file (I can't remember if it was version 8 or 9, but since you didn't mention that warning I'll assume that we didn't add the warning until 9).
    Unless you added yourself at the time you encrypted the file there is no going back to add yourself later because if you can't open the file you can't edit the file. You are locked out forever. You could ask the person that you included as a recipient to see if they can open the file and remove security, but you would have had to make them a document owner when you encrypted the file. If you restricted their editing capabilities then they won't be able to remove security, but at least you could see the contents of the file.
    I know this has all been a bit geeky, and I haven't gone into how to procure a public/private key pair, but I don't want to dump too much data on you in one post. If you need more information let me know and I'll be glad to provide it.
    Steve

Maybe you are looking for