Unable to decrypt a previously encrypted password

Guys, good afternoon,
I’m putting together a code where using the UiPath.Cryptography.Activities package

  1. Receive a password :white_check_mark:
  2. Encrypts the password and generates a key :white_check_mark:
  3. Exports both the Encrypted Password and the Generated Key to a txt :white_check_mark:
  4. Retrieves both information from TxT :white_check_mark:
  5. Use the information as parameters to decrypt and recover the original password :name_badge:

I am having difficulty precisely in the fifth stage because the following error occurs:
Error

Could anyone tell me how to get around this error and recover the original password?

I attached the project for those who want to analyze
EncryptTest.zip (49.7 KB)

Thanks in advance for your help

Hi @Rafaeloneil

Please revise your code.

You are trying to use a different key to decryption:

1 Like

The Devil is in the details …
Sorry and thanks for the help!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.