Adding 'public static' to the encryption fuction for better compatibility