DB-side encryption via NHibernate -


we're looking encrypt field using db-side encryption via nhibernate (most examples we've come across app-side, not like). issue has been raised couple of times, no answers yet seems.

on sql server 2005, instance, , forgetting key-related issues now, means inserting encryptbykey(key_guid(mykey), myvaluetoencrypt) , selecting decryptbykey(myencryptedfield). property might string, whereas field has varbinary.

we've vaguely got somewhere - using upper() , lower() instead of encryption functions - combining paired properties, 1 mapped custom user type , other formula attribute.

however if has ideas on how in nicer way, we'd grateful few pointers :o)

posted outline of nasty hack on nhibernate forum


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -