Skip to main content

Nilas Jensen's Library tagged searching   View Popular

27 Aug 06

Raul Garcia's blog

  • blog on SQL Server 2005. Includes techniques for indexing encrypted columns. - yyensen on 2006-08-27
  •    Index a MAC of your data


     


       We can use a MAC (Message Authentication Code) of the plaintext to create a new indexing column. This approach is similar to using a hash, but it requires a secret key to calculate the MAC. This prevents an unauthorized user to use a general purpose dictionary of hashed values and it will also prevent her from creating a targeted dictionary without having access to the MAC key. Please note that an attacker who has access to the MAC key can generate a targeted dictionary.


     


      SQL Server 2005 doesn’t provide a function for computing a MAC, but it is possible to write a user-defined function that calculates a MAC using either SQL Server 2005 CLR or by reusing the existing builtin functions.

1 - 4 of 4
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo