securityIO class is mostly unit tested

Still not unit testing a few functions:
* generate_rsa_pair
* rsaEncrypt
* rsaDecrypt