How to get rsa with Russian formula