Torna al Thread

create table dbo.mytable (idrec smallint identity (1, 1) not null, Nome varchar(20) not null, Pswd varbinary(256) not null); go insert dbo.mytable values ('Alberto', EncryptByPassPhrase('chiave di crittografia', 'password') ); select Nome, cast(DecryptByPassPhrase('chiave di crittografia', pswd) as varchar(30)) from dbo.mytable; go
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5