Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Encryption with advapi32.dll

Encryption with advapi32.dll

Scheduled Pinned Locked Moved C#
csharpvisual-studioalgorithmssecurityhelp
17 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Lost User

    Google[^] is always he first place to look.

    I must get a clever new signature for 2011.

    OriginalGriffO Offline
    OriginalGriffO Offline
    OriginalGriff
    wrote on last edited by
    #8

    I assume the OP didn't like the advice: countered.

    Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."

    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

    L 1 Reply Last reply
    0
    • OriginalGriffO OriginalGriff

      I'm with Richard: Google. You say you have looked, but it can't have been that hard, or your Google-fu needs a lot of practice. Give it practice, and look: Do your own research and you will learn something that will be useful for the rest of your career. Try to get others to do it, and you will never learn how.

      Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #9

      Now give me a fish. I need a fish. It is urgent. :)

      Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

      Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

      OriginalGriffO 1 Reply Last reply
      0
      • OriginalGriffO OriginalGriff

        I'm with Richard: Google. You say you have looked, but it can't have been that hard, or your Google-fu needs a lot of practice. Give it practice, and look: Do your own research and you will learn something that will be useful for the rest of your career. Try to get others to do it, and you will never learn how.

        Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."

        G Offline
        G Offline
        garfield185
        wrote on last edited by
        #10

        I know you're right. But, it's been 2 hours since I wrote the question, and still no result. Of course, I do work, while I wait for your answers. I know when to write a question on the forum or not. I was just asking for some resource. Thanks for your help.

        OriginalGriffO L 2 Replies Last reply
        0
        • L Luc Pattyn

          Now give me a fish. I need a fish. It is urgent. :)

          Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

          Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #11

          Fish fish = new Cod(FishUnit.Kilo, 10.3, FishFilleted.False, FishStatus.AliveInWater, FishDeliverySpeed.VeryFast);

          TNT OK? :)

          Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          L 1 Reply Last reply
          0
          • G garfield185

            I know you're right. But, it's been 2 hours since I wrote the question, and still no result. Of course, I do work, while I wait for your answers. I know when to write a question on the forum or not. I was just asking for some resource. Thanks for your help.

            OriginalGriffO Offline
            OriginalGriffO Offline
            OriginalGriff
            wrote on last edited by
            #12

            It's too general a question: you can find basics by googling "encryption MSDN" - there are probably several different tutorials right there. Don't be so lazy! :laugh:

            Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
            "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

            1 Reply Last reply
            0
            • G garfield185

              I know you're right. But, it's been 2 hours since I wrote the question, and still no result. Of course, I do work, while I wait for your answers. I know when to write a question on the forum or not. I was just asking for some resource. Thanks for your help.

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #13

              garfield185 wrote:

              But, it's been 2 hours since I wrote the question, and still no result.

              No result? I gave you the link to a page full of results. Did you go and investigate any of them, or are you just going to sit here whining because no-one is doing your work for you?

              I must get a clever new signature for 2011.

              1 Reply Last reply
              0
              • OriginalGriffO OriginalGriff

                I assume the OP didn't like the advice: countered.

                Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #14

                :thumbsup:

                I must get a clever new signature for 2011.

                1 Reply Last reply
                0
                • OriginalGriffO OriginalGriff

                  Fish fish = new Cod(FishUnit.Kilo, 10.3, FishFilleted.False, FishStatus.AliveInWater, FishDeliverySpeed.VeryFast);

                  TNT OK? :)

                  Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."

                  L Offline
                  L Offline
                  Luc Pattyn
                  wrote on last edited by
                  #15

                  Now we're cooking. :)

                  Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

                  Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

                  1 Reply Last reply
                  0
                  • G garfield185

                    Hi. I'm starting to develope with encryption, and I'm supposed to use some functions inside advapi32.dll I've been searching for information but nothing general to learn from the begining this encryption thing. Does anybody know a good place with information about this? A predefined class or code? There must be something done, because what I need to do is quite simple, just encrypting and decrypting text (not whole files), for passwords. Thanks in advance for your help. PS: Visual Studio 2005, C#.

                    D Offline
                    D Offline
                    Dave Kreskowiak
                    wrote on last edited by
                    #16

                    If all you're doing is encrypting a password, why not just use the encryptions class built into the .NET Framework?? It'll save you from P/Invoking all those functions yourself.

                    A guide to posting questions on CodeProject[^]
                    Dave Kreskowiak

                    G 1 Reply Last reply
                    0
                    • D Dave Kreskowiak

                      If all you're doing is encrypting a password, why not just use the encryptions class built into the .NET Framework?? It'll save you from P/Invoking all those functions yourself.

                      A guide to posting questions on CodeProject[^]
                      Dave Kreskowiak

                      G Offline
                      G Offline
                      garfield185
                      wrote on last edited by
                      #17

                      The problem is that I must use RC4, and the advapi32.dll, because we have other applicactions in powerbuilder using this system. I am supposed to follow the same steps. Thanks.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups