How to create a key container which is accessible for many users?

Tuesday, September 23rd, 2008

.Net Framework supports a key containers which can be used to store asymmetric keys. Key containers are available for user-level and machine-level store.
User-level RSA key containers are stored with the Windows user profile for a particular user and can be used to encrypt and decrypt information for applications that run under that specific user identity. [...]

How to encrypt a large amount of data using RSA?

Friday, September 19th, 2008

Sometimes we need to encrypt a large amount data using some asymmetric key. As we all know it is impossible to encrypt more bytes than the key size (in bytes) of the key.

Padding
Operating System Supported
Maximum Length of rgb Parameter

OAEP padding (PKCS#1 v2)
Microsoft Windows XP or later.
Modulus size -2 -2*hLen, where hLen is the size of [...]

How to access user certificate stored in active directory (AD)?

Wednesday, September 17th, 2008

Last week I ran into a problem how to access user certificates stored in AD. First of all I’ve checked what X509Store class offers to developers. Unfortunately, it allows access only to current user store and local machine store of the machine where developed application is ran. I’ve searched the Internet and I didn’t found [...]

Rijndael vs TripleDES in .Net (performance)

Monday, September 15th, 2008

Today, I was in front of a dilema which algorithm to use? Rijndael or TripleDES. As far as I know Rijndael is faster then TripleDES but i found some information about their realisation in .Net which tolds that in 2.0 TripleDES is even faster than Rijndael. As it is expected I decided to make a [...]

How to: Merge several assemblies in one assembly

Tuesday, August 5th, 2008

Today, a colleague of mine Zlatko run into a problem of how to combine several assemblies into one assembly. He started a discussion with me and we decided that I’ll make a research of the problem. After a short research I found several links with applications which allows to merge assemblies. First of all and [...]