Fortsätt till huvudinnehåll

Inlägg

Visar inlägg från oktober, 2016

RSA key manager for Windows

I spent the Friday evening coding an RSA key manager for Windows . What a great evening! After spending quite some time reading up on cryptography in Windows I noticed that Windows have built in support for storing RSA keys securely in something called  RSA Key Containers . However, there seems to be no tool available to actually manage these containers. Microsoft themselves refer to a tool called  aspnet_regiis  (WTF!?) for creating and exporting an RSA Key Container. So, after spending a couple of hours behind the keyboard (Dvorak layout, VsVim in Visual Studio), I can now say a tool dedicated to creating, deleting, exporting and importing RSA Key Containers in Windows now exist.

Goodbye Emacs, it is Vi time!

I have used Emacs for quite some time. However, now that I am working with C# development I work a lot in Visual Studio. Initially I tried to find good keybindings to emulate Emacs in Visual Studio but without any luck. Now I have taken the descision to go Vi. Check out the  VsVim extentsion for Visual Studio .

Simple command line tool for generating MD5 or SHA1 hashes for a file

I am about to do some security features at work so therefore I have been reading up on how to use C# to calculate SHA1 and MD5 hashes. What better way to learn than doing some hands on programming, I thought. And wrote a simple command line tool in C#. Source code is freely available at GitHub, see  https://github.com/Backhage/SigningTool If you wan't a compiled copy of the tool, just add a comment and I'll supply it.

Read all about it

I just came across the term "covariant" in the context of Generic Modifiers in C#. Apparently " Covariance enables you to use a more derived type than that specified by the generic parameter." To me the above sentence is just mumbo jumbo. I need to look into what this means in practice and why and when I would benefit from "covariance". To be continued...