News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Services for .NET 2.0 Forum
 
HELLLLP!!!! Diffie!!!

Reply

by Ehssan [ehssan_007 at yahoo dot com]
posted on 2007/12/23

Hi, and Thank you.
I have a big problem: I am sending the values P,G to a client, but in the client I cannot call DiffieHellmanManaged(P,G,l),I receive a cryptographic exception seemingly telling me that P is not prime, but I am copoying the P and G of the server that are generated by the algorithm itself.
What shlould I doooo!?!?

by Pieter Philippaerts [Pieter at mentalis dot org]
posted on 2009/06/27
Reply

Perhaps there\'s an endianness problem. Try reversing the byte array that stores your prime number...

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.