Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello,

I have a big problem and no solution to implement it.
I want to encrypt data with SHA1 RSA private-key from my .P12 file and then it must have a signature from a other certificate. I prefer c#.

How can help my please?

Thanks
Posted
Comments
Sergey Alexandrovich Kryukov 17-Feb-14 11:55am    
Asking question having no clue on the subject simply makes no sense. You always need to read on the topic first.
—SA

1 solution

There is no such thing as SHA1 RSA private key. You mixed different things together. SHA* is not encryption; this is a set of cryptographic hash algorithms.
And if you just need encryption, you don't need certificate. It looks like you are totally lost and ask illiterate questions. You need some education. Please start here:
http://en.wikipedia.org/wiki/Cryptographic_hash_function[^],
http://en.wikipedia.org/wiki/Public-key_cryptography[^],
http://en.wikipedia.org/wiki/SHA1[^],
http://en.wikipedia.org/wiki/SHA2[^],
http://en.wikipedia.org/wiki/RSA_%28algorithm%29[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900