Java tutorial
//package com.java2s; //License from project: Open Source License import java.util.Map; public class Main { public static String encipherPhone(Map<String, String> phoneData) { return encipherPhone(phoneData.get("device_id"), phoneData.get("device_board"), phoneData.get("device_brand"), phoneData.get("device_device"), phoneData.get("device_display"), phoneData.get("device_hardware"), phoneData.get("device_software"), phoneData.get("device_manufacturer"), phoneData.get("device_model"), phoneData.get("device_product"), phoneData.get("device_component"), phoneData.get("device_description")); } public static String encipherPhone(String key, String board, String brand, String device, String display, String hardware, String software, String manufacturer, String model, String product, String component, String description) { return key + "&" + board + "&" + brand + "&" + device + "&" + display + "&" + hardware + "&" + software + "&" + manufacturer + "&" + model + "&" + product + "&" + component + "&" + description; } }