Dai un'occhiata al namespace System.Security.Cryptography...