Biggest square in a grid
1) What you a describing is known as a replay attack. If you did just encrypt a message with textbook RSA (without random padding or a nonce incorporated into the message) this would be possible. However, when people use RSA to send data, they usual are referring to SSL/TLS, where RSA is the method used to exchange a symmetric key that is then used for the rest of the communication. If you are using chrome and go to security on a page using https, you can see a message like
The connection to this site is encrypted and authenticated using a strong protocol (TLS 1.2), a strong key exchange (ECDHE_ECDSA with X25519), and a strong cipher (AES_128_GCM).
which shows that ECDHE (elliptic curve diffe-hellman) was used instead of RSA as a public key encryption and the symmetric key was AES-128. Included in this protocol are measures to prevent against replay attacks. if you aren't using SSL and want to just use RSA, you would have to add a nonce or padding
2 and 3) as mentioned above, you shouldn't need to put a private key in your app. You can use the public key of the server to communicate and establish and symmetric key. Encrypting whole messages with RSA is considered slow and you really should use an existing library to do SSL/TLS or such. And avoid rolling your own crypto. Whether RSA is safe is another question. It certainly is with high enough key sizes (2048), but other key exchange methods have other advantages (like diffe-hellman hiding the key from an outside observer, even if done in plaintext)
I think that the main benefits on a full-fledged environnement (as Code composer) over Energia:
1) Able to program the whole family of MSP430 microcontrollers, and not only a few selected microcontrollers as in Energia.
2) Able to debug the applications by setting breakpoints, watching variables, step-by-step, etc.
3) Able to use a much more capable library (MSP430 Driver Library) in comparison with a limited arduino-clone Library. For example, I missed in "standard Energia" the possibility of setting a timer that triggers an interrupt; you might of course install a third party library for doing so or playing directly with registers (though you might interfere with Energia code, which might use this peripheral for some other purpose).
4) In contrast, using MSP430 Driver Library you can program every existing peripheral on the microcontroller; and you know what peripherals are being used (because you are programming all of them instead of relying on hidden code as in Energia).
That said Energia is great for quick prototype. Both environments are worth to learn.
Here's what I do:
sudo pmset -a hibernatemode 0
(disables hibernation mode)
sudo rm -rf /private/var/vm/.
*(removes existing swap files)
sudo chflags uchg /private/var/vm/
(locks down the swapfile directory, prevents anything from being written to the folder)
As others have said, though, please only do this if you know what you're doing.