Encryption with advapi32.dll
-
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#.
-
Thanks, but of course, if I'm writing here is because I googled before. Don't answer for that please. There is no need.
-
Thanks, but of course, if I'm writing here is because I googled before. Don't answer for that please. There is no need.
-
garfield185 wrote:
I'm writing here is because I googled before.
So what exactly is your problem?
I must get a clever new signature for 2011.
Read the question again.
-
Read the question again.
-
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#.
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."
-
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'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."
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.
-
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."
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.
-
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.
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 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.
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 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.
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.
-
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."
-
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."
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.
-
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#.
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 -
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 KreskowiakThe 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.