public static String generateDeviceId(String username, String password) {
        String seed = md5hex(username + password);
        String volatileSeed = "12345";

        return "android-" + md5hex(seed + volatileSeed).substring(0, 16);
    }
Generates Instagram Device ID

@param username Username to generate
@param password Password to generate
@return device id
src/main/java/com/github/instagram4j/instagram4j/utils/IGUtils.java