Add isIn, isSingle, isEmpty
temp commit
tidy the RSA util
Tidy the RSA util
Tidy the RSA util.