Adds encryption as a value type