Re: Size of Entropy with Dpapi Encrypted Connection String

From: Alek Davis (alek_xDOTx_davis_xATx_intel_xDOTx_com)
Date: 03/15/05


Date: Mon, 14 Mar 2005 17:24:51 -0800

This does not sound right. Entropy can be any size (well, there may be
limitations, but for practical purposes it can be just about anything). I am
not sure I follow what you're saying. You said that you are encrypting a
Rijndael (or AES) key, but than you somehow linked it with connection
string. Where did the connection string come from? What is "the connection
string entropy?" Are you talking about initialization vector (IV) used with
Rijndael key by any chance? This value must be of specific size (related to
the key/encryption block size, normally 16 bytes). Could you clarify what
exactly you are doing?

Alek

"Phil Czapla" <charlestek@rcn.com> wrote in message
news:%234O2vN3JFHA.1308@TK2MSFTNGP15.phx.gbl...
>
>
> Thanks Dominick,
>
> The reason I ask is that in the encrypting of
> the binary aes key by the dpapi, it appeared I had problems
> unless the binary entropy value was the same number of
> bytes as the key. Thus I extrapolated this to suggest that
> perhaps I'd have to count the number of characters is the connection
> string and use that as the number of bytes for the connection string
> entropy.
>
>
> Phil
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!



Relevant Pages

  • Re: ADO connections question
    ... Function CreateADOObjects(ConnectionString as string) ... you'll see this error if the connection has not been ... I have a specific login form that calls the dbLogin function as shown ... Dim strCriteria As String ...
    (microsoft.public.access.adp.sqlserver)
  • Re: Nochmals Treeview
    ... private void button1_Click(object sender, System.EventArgs e) { ... private void TabelleAnlegen(string strDBPfad, string strDB, string strTabellenName){ ... OleDbConnection connection = new OleDbConnection; ... OleDbCommand command = new OleDbCommand; ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Re: ExecuteReader requires an open and available Connection.
    ... you have ALL your users sharing one connection. ... Public Shared Function GetServerAs String ... Dim theServer As String ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Error using Login control ASP.NET App_Data Folder
    ... the UserInstance type of connection string is for SQLEXPRESS only and is ... Server Management Studio and use a standard connection ... An error has occurred while establishing a connection to the server. ... SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Change Connection String during runtime
    ... connection is stored in the app.config file. ... connection string without exiting the application. ... Dim newConnection As String ... Private Sub RecordDatabase_Enter(ByVal sender As Object, ...
    (microsoft.public.dotnet.languages.vb)