Rijndal Algorithm using C#
Asked Answered
D

3

5

I want the code of Rijndael algorithm to encrypt any given text to store it in a database, I also want to know how to reverse the encryption method, ie: decrypt the encrypted text to use it.

Dives answered 2/8, 2010 at 7:25 Comment(0)
K
6

There's an existing .NET Framework implementation already.

Kiln answered 2/8, 2010 at 7:29 Comment(2)
+1 Why reinvent the wheel? (unless the goal itself is to do it yourself exercise)Varden
Yes. You can use the implementation in any application that can use .NET framework libraries (Websites, console, windows forms, wpf, silverlight etc)Varden
D
4

This resource has what you need:

http://www.obviex.com/samples/Encryption.aspx

Dibb answered 2/8, 2010 at 7:29 Comment(0)
G
0

You should take a look at this great solution by Mark Brittingham. This class both includes encryption and decryption methods.

Glaring answered 2/8, 2010 at 7:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.