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

  1. #1

    Default Encrypted Data

    I need to create a sql column with Encrypted Credit Card. Fortunately .Net
    has a crypto API.
    Where would be a good place to store the key?
    Supposedly windows has a crypto store somewhere.
    Arne Guest

  2. Similar Questions and Discussions

    1. Encrypted data stream ?
      We have a bunch of data we want to send to a flash app on Pocket PC, Windows, or Mac OS X over an encrypted channel. It's binary data and we need...
    2. Encrypted Password
      I am trying to use an existing customer table in our SQL database for another Member-Only section of our web site, so they will share the same...
    3. Storing encrypted data
      Hello everyone, I'm in need of storing a few pieces of text in a text file on my server and want to keep it encrypted, but not permission...
    4. encrypted files
      can encrypted files be decoded and opened to read?
    5. Reinstaled, Lost profiles, encrypted files left encrypted
      Bob; Are you sure it is not an Ownership issue: http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q308421& If the files are encrypted. If...
  3. #2

    Default Re: Encrypted Data

    We used the MD5 hash (from a fixed plaintext string) to regenrate the key
    when needed.

    "Arne" <Arne@discussions.microsoft.com> wrote in message
    news:460682D6-8BA3-4163-8AC6-DABCB452FE3B@microsoft.com...
    > I need to create a sql column with Encrypted Credit Card. Fortunately .Net
    > has a crypto API.
    > Where would be a good place to store the key?
    > Supposedly windows has a crypto store somewhere.

    Jim Brandley Guest

  4. #3

    Default Re: Encrypted Data

    Jim,
    Do you have a safe place to store the plaintext string?
    Arne.

    "Jim Brandley" wrote:
    > We used the MD5 hash (from a fixed plaintext string) to regenrate the key
    > when needed.
    >
    > "Arne" <Arne@discussions.microsoft.com> wrote in message
    > news:460682D6-8BA3-4163-8AC6-DABCB452FE3B@microsoft.com...
    > > I need to create a sql column with Encrypted Credit Card. Fortunately .Net
    > > has a crypto API.
    > > Where would be a good place to store the key?
    > > Supposedly windows has a crypto store somewhere.
    >
    >
    >
    Arne Guest

  5. #4

    Default Re: Encrypted Data

    I don't wanna buy stuff in a store that stores such sensitive data. Use a
    hash or leave it. Please.

    --
    Daniel Fisher(lennybacon)
    MCP ASP.NET C#
    Blog: [url]http://www.lennybacon.com/[/url]


    "Arne" <Arne@discussions.microsoft.com> wrote in message
    news:7B562C1E-E837-406C-AF3C-89BA350CDB92@microsoft.com...
    > Jim,
    > Do you have a safe place to store the plaintext string?
    > Arne.
    >
    > "Jim Brandley" wrote:
    >
    >> We used the MD5 hash (from a fixed plaintext string) to regenrate the key
    >> when needed.
    >>
    >> "Arne" <Arne@discussions.microsoft.com> wrote in message
    >> news:460682D6-8BA3-4163-8AC6-DABCB452FE3B@microsoft.com...
    >> > I need to create a sql column with Encrypted Credit Card. Fortunately
    >> > .Net
    >> > has a crypto API.
    >> > Where would be a good place to store the key?
    >> > Supposedly windows has a crypto store somewhere.
    >>
    >>
    >>

    Daniel Fisher\(lennybacon\) Guest

  6. #5

    Default Re: Encrypted Data

    It's just a sting constant in the code.

    "Arne" <Arne@discussions.microsoft.com> wrote in message
    news:7B562C1E-E837-406C-AF3C-89BA350CDB92@microsoft.com...
    > Jim,
    > Do you have a safe place to store the plaintext string?
    > Arne.
    >
    > "Jim Brandley" wrote:
    >
    > > We used the MD5 hash (from a fixed plaintext string) to regenrate the
    key
    > > when needed.
    > >
    > > "Arne" <Arne@discussions.microsoft.com> wrote in message
    > > news:460682D6-8BA3-4163-8AC6-DABCB452FE3B@microsoft.com...
    > > > I need to create a sql column with Encrypted Credit Card. Fortunately
    ..Net
    > > > has a crypto API.
    > > > Where would be a good place to store the key?
    > > > Supposedly windows has a crypto store somewhere.
    > >
    > >
    > >

    Jim Brandley Guest

  7. #6

    Default Re: Encrypted Data

    A hash is a one way encryption and it will not do any good for me.
    A hash would be useful for passwords only.
    Arne.

    "Daniel Fisher(lennybacon)" wrote:
    > I don't wanna buy stuff in a store that stores such sensitive data. Use a
    > hash or leave it. Please.
    >
    > --
    > Daniel Fisher(lennybacon)
    > MCP ASP.NET C#
    > Blog: [url]http://www.lennybacon.com/[/url]
    >
    >
    > "Arne" <Arne@discussions.microsoft.com> wrote in message
    > news:7B562C1E-E837-406C-AF3C-89BA350CDB92@microsoft.com...
    > > Jim,
    > > Do you have a safe place to store the plaintext string?
    > > Arne.
    > >
    > > "Jim Brandley" wrote:
    > >
    > >> We used the MD5 hash (from a fixed plaintext string) to regenrate the key
    > >> when needed.
    > >>
    > >> "Arne" <Arne@discussions.microsoft.com> wrote in message
    > >> news:460682D6-8BA3-4163-8AC6-DABCB452FE3B@microsoft.com...
    > >> > I need to create a sql column with Encrypted Credit Card. Fortunately
    > >> > .Net
    > >> > has a crypto API.
    > >> > Where would be a good place to store the key?
    > >> > Supposedly windows has a crypto store somewhere.
    > >>
    > >>
    > >>
    >
    >
    >
    Arne Guest

  8. #7

    Default Encrypted Data

    I need to compress data, encrypt it, send it someplace, decrypt it and then
    decompress it for display. I have a question about the format of encrypted
    data. I plan to use block encryption therefore an intersection vector will
    be used. I must also plan on padding being applied to my final block. From
    a logic standpoint, after I decrypt a message do I have to strip the
    intersection vector (16 bytes) off the front of the data and any padding that
    may have been necessary off the back of the data before I try to decompress
    my data. So I guess my question is when I invoke the decrypt method and
    assign the results to a variable, do that variable now include the origional
    data, the intersetion vector at the front plus padding bytes at the end of
    the data.

    Fred
    Fred Herring 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