You have been given a task to decode the secret message that was found on Eve's machine.

Eve's machine is quite powerful and has more cores (aka processors) than a normal machine.
Apparently, it has as many cores (aka processors) as half of the ASCII number representing space.
Here is the message:


We also found the code that Eve used to encode the message but we failed to find a function that can decode it.
Here is the code for encoding:

import java.util.Base64;

public class SuperSecureSecretSocks {

    public static String messStuffUp(String input) {

        int numberOfCores = Runtime.getRuntime().availableProcessors();
        int[] ascii = new int[input.length()];

        for (int i = 0; i < input.length(); i++) {
            ascii[i] = (int) input.charAt(i);

        for (int i = 0; i < input.length(); i++) {
            ascii[i] = ascii[i] - numberOfCores * 2;

        String asciiString = "";
        for (int i = 0; i < input.length(); i++) {
            asciiString += ascii[i];

        String base64encoded = Base64.getEncoder().withoutPadding().encodeToString(asciiString.getBytes());

        return base64encoded;

Licensed under GNU General Public License v3.0 © Vitaly Ford