'Encrypts the message using blinding to prevent side-channel attacks.
:param message: the message to encrypt
:type message: int
:returns: the encrypted message
:rtype: int'

def blinded_encrypt(self, message):

    blind_r = rsa.randnum.randint((self.n - 1))
    blinded = self.blind(message, blind_r)
    encrypted = rsa.core.encrypt_int(blinded, self.d, self.n)
    return self.unblind(encrypted, blind_r)
