Encryption with private rsa key, encoding with base64

Comments

4 comments

  • Vladimir Gurov
    Dear Ged,

    Please let us know the business case you would like to implement.

    Best regards,
    Vladimir Gurov
    0
    Comment actions Permalink
  • Vladimir Gurov
    A sample code (in Russian) that uses RSA encryption is given here:

    http://smbsec.ru/1cpredpriyatie/primer-assimetrichnogo-shifrovaniyarsa-1spredpriyatie-8.html

    http://www.maintenance.kz/?q=node/9

    Best regards,
    Vladimir Gurov
    0
    Comment actions Permalink
  • Ged Last
    Thank you for the links, Vladimir. One of them I was not aware of. Solid information.

    XML file has to be regularly-periodically sent over internet to a server. We are required to use REST technology. Method - POST. Basic Authentication, which is Username and Password. Each time password has to be encrypted with rsa key, which we have, and then encoded with base64.

    Tried to use Ubuntu to do the encryption and encoding. With the right command its easy to do it via Terminal there. Succesfully used POSTMAN to send it using POST method. All these actions we want perform on a windows machine, straight from 1C.
    0
    Comment actions Permalink
  • Ged Last
    little correction - password has to be signed with rsa key, not encrypted (incorrect choice of a word)
    0
    Comment actions Permalink

Please sign in to leave a comment.