Encryption using X.509

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Encryption using X.509

    I have writen a class that uses certificates to encrypt
    data on my web servers prior to storing it in a database
    and would like to know if there are any flaws associated
    with this design. I chose this because there are no keys
    to manage in configuration files and certificates are
    already in use for web service security using WSE 2.0. It
    takes a string and encrypts it and passes back the
    ecrypted string for storage in the database. Web servers
    have the public key for encryption while the backend
    servers (not public facing) have the public and private
    keys which can be used for encrypting and decrypting the
    data for various processes.
    David Smith Guest

  2. Similar Questions and Discussions

    1. 128 Bit AES Encryption
      Hi All, Is it possible to implement 128 bit AES encryption in coldfusion 5.0? Regards cfdyn
    2. Encryption
      What 3rd party softwares are available for physically encrypting SQL server databases, either individual columns or rows? We have researched a few,...
    3. URL Encryption
      Hi, Is there a way to securely ecrypt and decrypte a URL? for e.g encrypting and decrypting using Triple-DES algorithm. Are there any security...
    4. Need help with encryption
      Hi I i'm working on a web site that will save customer info some of this info needs to be encrypted in the db. I will need to encrypt when...
    5. IDS 9.40.UC2, Encryption
      I try to configure encryption with IDS 9.40.UC2 on an AIX platform and I'm a little bit confused about the different error messages I receive. ...
  3. #2

    Default Re: Encryption using X.509

    Generally, RSA encryption is only used for encrypting small pieces of data
    (11 bits less than the key length) such as a symmetric encryption key. So,
    this might work for small strings, but probably isn't a good idea for large
    data.

    For large data, you typically encrypt with a symmetric algorithm and then
    store the symmetric key encrypted via RSA so that you can decrypt the
    symmetric key with the RSA private key then perform the rest of the
    decryption.

    Joe K.

    "David Smith" <smith.wd@gmail.com> wrote in message
    news:0db001c53a4a$a5b04230$a501280a@phx.gbl...
    >I have writen a class that uses certificates to encrypt
    > data on my web servers prior to storing it in a database
    > and would like to know if there are any flaws associated
    > with this design. I chose this because there are no keys
    > to manage in configuration files and certificates are
    > already in use for web service security using WSE 2.0. It
    > takes a string and encrypts it and passes back the
    > ecrypted string for storage in the database. Web servers
    > have the public key for encryption while the backend
    > servers (not public facing) have the public and private
    > keys which can be used for encrypting and decrypting the
    > data for various processes.

    Joe Kaplan \(MVP - ADSI\) Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139