You can use PKCS12_PBKDF::DeriveKey to do this. Call it twice with different 
"purpose" parameters to generate the key and IV.

----- Original Message ----- 
From: "Rash" <[EMAIL PROTECTED]>
To: "Crypto++ Users" <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2007 5:28 PM
Subject: Re: Encryption and Decryption of text files


>
> Hi guys,
> I dont understand why is this forum used if there is nobody to reply
> our queries.
>
> I'm seriously getting mad to find a solution to this simple question.
> But I dont know there is nobody to help...Is there other links which
> can help me to solve my queries.
>
> I have a password "somepassword"
> I want to calculate key and IV value based on length of password. This
> key and IV value will be passed to AES_CTR_Encrypt function defined in
> the library.
>
> Please help guys....
> Someone please.....
>
> Waiting eagerly
>
>
> > 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to