Donkey On A Waffle
Openssl.NET Basics
Wed, 26 May 2010 15:03

Openssl wrappers for .NET are available at Sourceforge OpenSSL.NET. Very poorly documented but turns out to be very easy to use. Simply add the ManagedOpenSsl.dll reference to your c# code and have at it. Sample code:

Home | Tags: | Category: /programming | Link

P/Invoke CryptoAPI from C#
Tue, 25 May 2010 12:45

I had to do some basic P/Invoke calling from C# today and am sharing the code just for giggles. P/Invoke is essentially calling functions that reside in an unmanaged DLL from managed code. It's fairly straight forward to do with the hardest part being parsing the MSDN to get the proper signatures for the functions you wish to DLLImport. There is a great resource at pinvoke.net that contains user submitted signatures for cut and paste reuse. I highly recommend this resource. Last but not least here is my code that demonstrates encrypting and decrypting static blobs with hardcoded constant key values. Not real world, but a reasonable demonstration none the less.

Home | Tags: | Category: /programming | Link

Books Update
Wed, 12 May 2010 13:30

For those that don't know, I keep an updated list of books (novels mostly) read and my reviews of them at this link. Have fun and let me know what you think.

Home | Tags: | Category: /generic | Link

More Talks
Mon, 03 May 2010 12:37

I'll be giving a talk at the IT Hot Topics Conference on Thursday May 6th and 7th. Come on out for an interesting Mobile Spyware discussion and some great time in the sun!

Home | Tags: | Category: /infosec | Link