class_docstr: Implementation for experiment payload builder
  using public key RSA encryption.
class_docstr_tok: ["Implementation","for","experiment","payload","builder","using","public","key","RSA","encryption","."]
docstr: param: keypath - file path to .pem file with public key
docstr_tok: ["param",":","keypath","-","file","path","to",".pem","file","with","public","key"]
code: def __init__(self, keypath: str):
      """
      param: keypath - file path to .pem file with public key
      """
  
      self.key_path = keypath
      self.recipient_key = None
      try:
          self.recipient_key = RSA.import_key(
              open(self.key_path).read()
          )
      except:
          print(
              "FAILED to import recipient public key from: {0}".format(
                  self.key_path
              )
          )
          return
  
file_path: studio/studio/completion_service/encryptor.py
imports: import sys
  from Crypto.PublicKey import RSA
  from Crypto.Cipher import PKCS1_OAEP
  import nacl.secret
  import nacl.utils
  import base64
label_desc: Use image node_id 1 to create a new Encryptor object  with example: obj = Encryptor(keypath)