 |
|
|
 |
|
 |
hi swati m snehlata shaw from kolkata .m also workin project in dis topic,,same prob facing "error showing in setting demo project",,did u get n e reply?if u know hw 2 setup that plz reply .i'll be grateful to you thank you
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi Snehlata Shaw,
Please could you elaborate on what problems you're having exactly with the demo project - so I can provide further assitance.
Thanks
Lee Griffiths
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi, Lee Griffiths.
I've seen this same code in UltraVNC and I want to get it into gtk-vnc, a library which implements the VNC client side, and which is used in Vinagre, the GNOME VNC client.
So, gtk-vnc is licensed under the LGPL and thus I cannot just copy and paste your code into the library. Could you please license your code under LGPL or compatible?
I tried to get in touch with you by email, but I think the email listed in the code is outdated.
I'd appreciate any comment from you.
Thanks in advance, Wendell - jwendell AT gnome DOT org
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi Wendell,
I have modified the license and this article, along with any associated source code and files, is now licensed under The Code Project Open License (CPOL).
UltraVNC have obviously borrowed the code from this article and used it in their own implementation, which is perfectly fine because that was my intention to allow anyone here to use the code for free.
HOWEVER although the source code itself may be freely used you will need to check whether the use of the Diffie Hellman algorithm is free or whether a license is required to use it. I did read somewhere that the US patent for it expired in 1997 but PLEASE do not take my word for it, and if anyone else has some definitive answers on this then please let us all know by posting a reply here.
Thanks
Lee Griffiths
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
i face two errors during build up, can u please help me how to solve these Error 1: error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in LIBCMTD.lib(dbgdel.obj) nafxcwd.lib Error 2 fatal error LNK1169: one or more multiply defined symbols found c:\securetalk.exe 1 Thanks Zeeshan
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi zeeshan51
The problem you are experiencing is to do with the use of the code generation in MT mode and the use of static MFC libraries. There is a way to keep these settings by changing the linking order of libcmt and msvcrt, but the easiest way is as follows:
In the solution configuration, change the C++/Code Generation/Runtime Library to be Multi-threaded Debug DLL (for debug builds) and Multi-threaded DLL (for release builds).
Then you also have to modify (in the solution configuration), General/Use of MFC to be Use MFC in a shared library.
This should resolve the problem, but be aware that you will then need to redistribute the MFC libraries for computers that do not have visual studio etc installed.
Of course this is all in respect of the demo application, and if you wish to just use the diffie hellman class by itself then there are of course no MFC requirements (it's just for the demo application).
I have modified the solution / project to fix the aforementioned problems and am awaiting the article and downloads to be updated.....
Thanks,
Lee Griffiths
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I suggest making obeying const-correctness with the input-parameters in createRecipientInterKey. This makes it easier to see what is input & what is output.
Also, the example concerning DH->CreateRecipientInterKey(RInterim); appears to be misleading. I think it's meant to say
serverkey.createRecipientInterKey (rintrim, g, n); serverkey.createRecipientEncryptionKey(key,lintrim);
Here you can clearly see it's using the received g, n and lintrim, and you can see where the rimtrim (which needs to be sent back) actually comes from
Regards, Roger
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hello. First of all congratulations...
I've successfully compiled that sources on linux by making the following changes:
in DrmCrypto.h line 62:
typedef int64_t __int64;
In the DrmCrypto.cpp method __int64 CDrmCrypto::GetRTSC( void ) I've changed to:
__int64 CDrmCrypto::GetRTSC( void ) { #ifdef _WIN32 int tmp1 = 0; int tmp2 = 0; __asm { RDTSC; mov tmp1, eax; mov tmp2, edx; } return ((__int64)tmp1 * (__int64)tmp2); #else __int64 result; asm ("RDTSC" : "=A" (result)); return result; #endif }
That's all...
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
Hi Wygno,
Can you elaborate a bit further? What operating system and what compiler are you using? Also what is the full description of the link error/
Thanks.
|
| Sign In·View Thread·PermaLink | 1.50/5 (2 votes) |
|
|
|
 |
|
 |
Hi, I'm a beginner and I'm wondering what DRMCrypto class is? Could you be kind enough to provide a bit of explanation? Thanks
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi wygno, the DRMCrypto class is something I wrote to demonstrate the use of the Diffie Hellman Key Exchange protocol. It isn't a Windows API.
Thanks.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hello
My concept on diffie key exchange is not clear. If any one has diffie hellman code. Please send me simple diffie hellman code. I really need it?
Regards Muhammad Naeem
Naeem Qazi
|
| Sign In·View Thread·PermaLink | 2.00/5 (3 votes) |
|
|
|
 |
|
 |
this might explain it a bit better (from a post further down the page) http://www.codeproject.com/cpp/DiffieHellmanExample.asp?msg=1769062#xx1769062xx[^]
as for simple ? there's easy to use, there's a good implementation or a bad implementation of an algorithm, but simple ? would you trust a 'simple' encryption algorithm .. I hope not
Modified - you might also want to google for Wei Dai's Crypto++ or CryptLib from Peter Guttman, or LibTomCrypt - all good libraries implementing algorithms in different ways - but simple ?? I think not
'g'
|
| Sign In·View Thread·PermaLink | 2.67/5 (3 votes) |
|
|
|
 |
|
 |
Hello
Thank you very much for reply. Actually by simple I mean that I dont need its GUI coding. I need the diffie hellman key exchange coding but without the use of libraries. I m mean to not use the libraries for it.
Regards Muhammad Naeem
Naeem Qazi
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
 |
I know the concept of Diffie Hellman Key Exchange. But i am badly in need of Diffie Hellman key exchange program written in java. If anybody finds it kindly provide me the program as early as possible. Its very urgent. thank you one and all
Gokulakrishnan
|
| Sign In·View Thread·PermaLink | 2.33/5 (3 votes) |
|
|
|
 |
|
 |
Hi All,
I have now modified the class so that it does not use the GUID structure or the Windows API (CoCreateGuid). I have requested the download to be updated, but in the meantime if you reply to this message with your email address I can send you the latest version.
Thanks.
Lee
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Please send me the code of Deffie Hellman algorithm to the email address i.e. qaziejaz@hotmail.com, please send me the code as soon as possible, I am doing my research work and in my research I need the said code. thank's Qazi Ejaz
31081979
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I have to implement IPSEC n using omnet with .net to code it.... I find ur example very helpful... It is very easy to understand even for me when i dont know the details of the Diffie Helliman key exchange algorithm......
The compiler for ipv6suitewithinet (based on omnet n vc.net) doesnt support to resolve GUID u use in ur example....... It is giving me the Linking error to the external symbol to the function CoCreate()..... Can u plz help me... if i need to include certain file for it???? or is there any alternative i can use????
thanks a lot in advance...
Regards, Maria
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
Hye Lee Your project is very interesting. I have a questions. I wanted to ask you what is/are the limitation in your project. I am waiting for your response,
Thanks
Garima Thakral
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |