Re:Data Encryption
From: Vishal Parkar (vgparkar@hotmail.com)
Date: 11/13/02
- Next message: Christian Raack: "Cumulative Patches (for SQL Server)"
- Previous message: ºî¹ØÊ¿: "Re: How to Execute 'select' operating from a Function on a linkedserver"
- In reply to: J Casse: "Data Encryption"
- Next in thread: Tom O: "Re: Re:Data Encryption"
- Reply: Tom O: "Re: Re:Data Encryption"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Vishal Parkar" <vgparkar@hotmail.com> Date: Wed, 13 Nov 2002 01:01:39 -0800
SQL Server has 2 undocumented password encryption function
by which you can encrypt and decrypt a string.
Following is the example.
declare @x varbinary(500)
declare @ret int
select @x=convert(varbinary(500),pwdencrypt('check'))
select pwdcompare('check',@x, 0)
You can use pwdencrypt in a update/insert trigger to
encrypt the values of a table's column. While decrypting
you'll have to use pwdcompare which will return 0 or 1 on
the basis of failed or successfull comparison respectively.
for more information visit
http://www.sqlmag.com/Articles/Index.cfm?ArticleID=9809
--Vishal
>-----Original Message-----
>Oracle 8i + includes the OBFUSCATION toolkit which
enables
>the creation of hash and random keys. Does anyone know if
>MSSQL 7/2k offers the same type of encryption for
>sensitive data?
>
>Note: my encryption has to be done through a store proc,
>not through any other software.
>
>Thanks, JB
>.
>
- Next message: Christian Raack: "Cumulative Patches (for SQL Server)"
- Previous message: ºî¹ØÊ¿: "Re: How to Execute 'select' operating from a Function on a linkedserver"
- In reply to: J Casse: "Data Encryption"
- Next in thread: Tom O: "Re: Re:Data Encryption"
- Reply: Tom O: "Re: Re:Data Encryption"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|