add safe util RSAKeys and test.