I know this is really foolish, but unfortunately, I don't know how to do that. I need to hash strings using SHA1 and MD5. How may I do that? EDIT: I forgot to say that I need to use RSA for that. I got no idea of how I can do that.