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

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

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

unit testing - How to mock PreferenceManager in Android? -