The RSA functionality for BurningPig & Minecraft encryption