Encryption using CryptEncryptMessage

From: Muhammad Aftab Alam (aftab518_REMOVE_AT_REMOVEyahoo.com)
Date: 05/27/05

  • Next message: lelteto: "Re: advapi32.dll patch for Win2003 SP1"
    Date: Fri, 27 May 2005 15:07:32 +0500
    
    

    Hi All,
    I am trying to Encrypt the Message using
    CryptEncryptMessage, the algorithm I am using is RC4

    whos OID is szOID_RSA_RC4, now I want to use the 3DES and AES based
    Encryption as well but cant find such OID in the list provided by MSDN.

    so kindly guide me to the right direction.

    the second problem is that in case of larger files like 150Mb file it eats
    up all the avaliable memory while encrypting, though it releases the memory
    after wards but I want to limit the memory usage of this function like 100
    Mb.

    regards

    Aftab Alam


  • Next message: lelteto: "Re: advapi32.dll patch for Win2003 SP1"

    Relevant Pages

    • Re: Encryption using CryptEncryptMessage
      ... Use of included script samples are subject to the terms specified at ... > I am trying to Encrypt the Message using ... > whos OID is szOID_RSA_RC4, now I want to use the 3DES and AES based ... > memory after wards but I want to limit the memory usage of this function ...
      (microsoft.public.platformsdk.security)
    • Re: CAPI and RC4: can not decrypt when Final parameter is set to F
      ... to store ASYMMETRIC key pairs - never symmetric keys like RC4, ... Now when you need to encrypt at one place and decrypt at the other normally ... Get a HCRYPTPROV handle to a key container with CryptAcquireContext ...
      (microsoft.public.platformsdk.security)
    • Please suggest a simple 8-bit cipher
      ... We need to encrypt short messages with only a very ... little computing power and memory (let's say, ... The algorithm nor the keys will not be published. ... The most probable attack is that the attacker knows a few (not much ...
      (sci.crypt)
    • Re: Making an assembly into a part
      ... Memory getting low??? ... *** Encrypt your Internet usage with a free VPN account from ...
      (comp.cad.solidworks)
    • Re: 3DES adds 15 bytes to encryption?
      ... If you need low-to-medium security, ... You should NEVER reuse an RC4 session key. ... the call to encrypt returns a length +15 of what I passed ... I set padding to PKCS5_PADDING but use an 8 byte key ...
      (microsoft.public.platformsdk.security)