securefile.rsa_algorithm.RSA.decrypt

securefile.rsa_algorithm.RSA.decrypt(pk, ciphertext)

decrypt() do basic RSA decryption algoritm to decipher the ciphertext

Parameters:
  • pk (tuple) – RSA Public Key as tuple
  • ciphertext (int) – Cipher s
Returns:

char array of decrypted Text

Raises:

ValueError – Throws error when not correnct text is providded