Add AttributeUsage attribute to EncryptAttribute.
Add some encryption tests.
Fix encryption in EnumTypeValueConverter.