Encryption using RSA Algorithm

Hi Team,

We need to implement RSA Algorithm to encrypt the data using plain encryption. Can any one suggest how to implement that in chatbot to encrypt user password?