Jose Solares

Encripcion TripleDES

by on Mar.07, 2005, under Uncategorized

Clase para Encripcion en C# utilizando TripleDES

Esta clase funciona en VS.NET 2003, se puede modificar para utilizar otro tipo de encripcion, seria de modificar el constructor para cambiar que tipo de encripcion se desea utilizar.

:, , , ,

1 Comment for this entry

  • Michael Giagnocavo

    The only problem is that the IV needs to change for every single message, otherwise you could leak data. So the methods should either take a new IV on each encrypt/decrypt, or autogenerate it and stick it in the message (better). IVs aren’t secrets so they can be dumped at the beginning of a message with no problem. Or a message ID or similar can be used for the IV.

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...