Encryption AES128 / 256 C # .net E SQL 2008/2012

1

Greetings,

Does anyone know of any implementation of AES encryption compatible between C # and SQL? I want to encrypt in C # and decrypt in SQL.

    
asked by anonymous 29.09.2015 / 19:04

1 answer

3

You can deploy the encryption library in .NET and install it directly on your MS SQL Server service.

Once the assembly has been properly installed on the server, its classes can be configured and accessed as in the example below:

CREATE PROCEDURE teste
AS
EXTERNAL NAME Biblioteca.Classe.MetodoTeste

Source: 'Deploying CLR Database Objects' , MSDN.

    
29.09.2015 / 19:09