EzBlog

Blogs from the mind of Tim Price

My Links

Blog Stats

Article Categories

Archives

Cryptography

This article will walk you through the process of creating a Cryptography class file, using the Microsoft© Cryptography Application Programming Interface (Cryptography API), through an ASP.NET application. You will discover what you need to do to use this API, by creating a fully working .NET class file that Decrypts/Encrypts any given string.

This article covers converting strings using both base64 and UTF8 encoding. To either Decrypt/Encrypt a string, the example uses Cryptography Service Providers (CSPs), which allow an application to encrypt or digitally sign data, whilst protecting the users private key information. Note: The same key is required for both En/Decryption. Cryptographic operations are performed by Crpytographic Service Providers (CSPs)

Microsofts© provides a CSP, the RSA Base Provider, which is included with the operating system.