# File lib/chef/encrypted_data_bag_item.rb, line 58 def [](key) value = @enc_hash[key] if key == "id" || value.nil? value else self.class.decrypt_value(value, @secret) end end