improve style in test, update docs for rsa encryption review