Re: Decrypting large files

From: Rob Teixeira [MVP] (RobTeixeira_at_@msn.com)
Date: 06/06/04

  • Next message: Rob Teixeira [MVP]: "Re: Secure storing of a password"
    Date: Sat, 5 Jun 2004 23:27:41 -0400
    
    

    With .NET block ciphers, you should be able to use a CryptoStream and
    encrypt/decrypt the file chunks at a time.
    If you post some code, we might be able to better understand what isn't
    working for you.

    -Rob Teixeira [MVP]

    "Arnold klim via .NET 247" <anonymous@dotnet247.com> wrote in message
    news:OfjSHSzSEHA.1168@TK2MSFTNGP11.phx.gbl...
    > I was just wondering how I would go about decrypting relatively large
    files ( around 50MB ) I have tried to use a buffer to read
    > into first but it doesn't decrypt properly. I don't really want to have to
    create a 50MB byte[] buffer to decrypt as memory is limited. Any ideas
    anyone?
    > --------------------------------
    > From: Arnold klim
    >
    > -----------------------
    > Posted by a user from .NET 247 (http://www.dotnet247.com/)
    >
    > <Id>mMD35LPasUSUxzZbr76tvg==</Id>


  • Next message: Rob Teixeira [MVP]: "Re: Secure storing of a password"

    Relevant Pages

    • has anyone implemented the IWMDMOperation Application callback Interface before?
      ... But somehow the decrypt function that I use ... here is my code to decrpyt the data following guidelines given in the WMDM ... // allocate a temp buffer to store the return data first ... memcpy(pTempBuffer, pData, *pdwSize); ...
      (microsoft.public.windowsmedia.sdk)
    • Re: Decryption at PPC
      ... >i want to decrypt one by one ... >BOOL DecryptFile (LPTSTR, LPTSTR, PCHAR); ... >int WINAPI WinMain(HINSTANCE hInstance, ... So you must use a local buffer ...
      (microsoft.public.windowsce.app.development)
    • Re: How do I Load Image from Memory?
      ... Assuming you have a pointer to the encrypted bitmap image data buffer ... get encrpted buffer ==> decrypt in memory to bufferPtr and then you can ... hbmp = CreateBitmap; ... I would like to display this image using the buffer. ...
      (microsoft.public.pocketpc.developer)

    Loading