I am trying to make an asymetrical encryption using RSA algorithms in java.
Every time I use the following kind of reference...
KeyPairGenerator keygen = KeyPairGenerator.getInstance("RSA");
...The IDE underlines it in red and says...
"unreported exception java.security.NoSuchAlgorithmException;must be caught or declared to be thrown"
...My questions are...
1) Why am I getting a "NoSuchAlgorithm" exception?
2) What is "catching"? What about "Declaring"? Throwing?
3) if I "caught", "declared" or "threw" this exception, would the program still work as planned?

