Encrypting large amounts of data

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Wright

    #1

    Encrypting large amounts of data

    I have a datatable that has about 1000 rows of data that I need to encrypt.
    I have written the datatable out to XML and encrypted it using Rijndael and
    DES encryption. I have decrypted it and tied it back to a datagrid
    successfully. The purpose is to encrypt the data to go across the line for
    a web service. The question I have is--Is there a good way to encrypt a
    datatable using Rijndael or DES encryption that is quicker? Right now this
    method takes close to 10 minutes to encrypt the data table. That is just to
    long. I have suggested using a call back to notify the client when the
    webservice is done processing, but I need shorter times. Any thoughts,
    suggestions, code?


    John Wright


  • Spam Catcher

    #2
    Re: Encrypting large amounts of data

    "John Wright" <riley_wrightx@ hotmail.comwrot e in
    news:e7LZ35zvHH A.4516@TK2MSFTN GP06.phx.gbl:
    I have a datatable that has about 1000 rows of data that I need to
    encrypt. I have written the datatable out to XML and encrypted it
    using Rijndael and DES encryption. I have decrypted it and tied it
    back to a datagrid successfully. The purpose is to encrypt the data
    to go across the line for a web service. The question I have is--Is
    there a good way to encrypt a datatable using Rijndael or DES
    encryption that is quicker? Right now this method takes close to 10
    minutes to encrypt the data table. That is just to long. I have
    suggested using a call back to notify the client when the webservice
    is done processing, but I need shorter times. Any thoughts,
    suggestions, code?

    There is no need to encrypt the data the way you are doing now...

    You can encrypt a web service call using SSL. Otherwise, load Web Service
    Enhancement and WS-Security contains the ability to encrypt web service
    messages at the message level.


    Comment

    • John Wright

      #3
      Re: Encrypting large amounts of data

      SSL is no faster, and in fact much slower since it has to encrypt the whole
      message not just the data table. WS-Security is not an option right now due
      to interactions with old Java Programs that have no support for WS-Security.

      John WRight

      "Spam Catcher" <spamhoneypot@r ogers.comwrote in message
      news:Xns9964A48 EF9B07usenethon eypotrogers@127 .0.0.1...
      "John Wright" <riley_wrightx@ hotmail.comwrot e in
      news:e7LZ35zvHH A.4516@TK2MSFTN GP06.phx.gbl:
      >
      >I have a datatable that has about 1000 rows of data that I need to
      >encrypt. I have written the datatable out to XML and encrypted it
      >using Rijndael and DES encryption. I have decrypted it and tied it
      >back to a datagrid successfully. The purpose is to encrypt the data
      >to go across the line for a web service. The question I have is--Is
      >there a good way to encrypt a datatable using Rijndael or DES
      >encryption that is quicker? Right now this method takes close to 10
      >minutes to encrypt the data table. That is just to long. I have
      >suggested using a call back to notify the client when the webservice
      >is done processing, but I need shorter times. Any thoughts,
      >suggestions, code?
      >
      >
      There is no need to encrypt the data the way you are doing now...
      >
      You can encrypt a web service call using SSL. Otherwise, load Web Service
      Enhancement and WS-Security contains the ability to encrypt web service
      messages at the message level.
      >
      >

      Comment

      • Spam Catcher

        #4
        Re: Encrypting large amounts of data

        "John Wright" <riley_wrightx@ hotmail.comwrot e in
        news:OxlijJ0vHH A.4640@TK2MSFTN GP03.phx.gbl:
        SSL is no faster, and in fact much slower since it has to encrypt the
        whole message not just the data table. WS-Security is not an option
        right now due to interactions with old Java Programs that have no
        support for WS-Security.
        Your current encryption takes 10 minutes!

        I'm sure IIS' SSL implementation is faster than 10 minutes ;-)

        Comment

        Working...