Professional Documents
Culture Documents
as
select dbo.[ufn_encryptstring](@pclearstring)
return
as
declare @password varchar(100)
select @password=password from logon where userid=@userid
select [dbo].[ufn_decryptstring](dbo.[ufn_encryptstring](@password))
return
////implementation in .net
string pwd=encryptpassword();
string pwd=getpassword();