I am using visual studio 2010
my project is that,
i want to encrypt text using blowfish algorithm and then add that encrypted data must be saved in my database
my blowfish algorthim is in .c file
my input must be taken via C# (windows form)
and my database is in sql server 2008
i just want to known that can i send the text taken via windows form (.net c#) to my .c file and proccess it and get that encrypted data and save that data in sql server via windows form
can this be done
please help me out
Yes. This is called interop and it can be done in various ways. One of them is called Pinvoke – you create a DLL that exports the function you want to call from c# and pinvoke will take care of the rest. I suggest you read about it in microsoft’s docs.