genkeys checks to see if the modulus is at least 256.

encrypt_str ensures that the in_chunk_size is at least 1.
Also ensures that the last_chunk_size is at least 1.