function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
apurswaniapurswani 

Error decrypting string:

Hi I am trying to use CLI to encrypt password and decrypt the same.

 

I tried following :

 

encrypt -g anil

 

and it returned : 291988e8b2ff083d

 

Now when I tried to decrypt the same using following command: -

encrypt -v 291988e8b2ff083d anil

 

Now it is throwing following error: -

Error decrypting string: 291988e8b2ff083d, error: Given final block not properly  padded

 

Can any one tell me what wrong I did.

 

-Anil

robertflyrobertfly

Anil, 

 

Can you provide more information?  What is the "encrypt" program you're referring too?

 

 -Robert

apurswaniapurswani

its all about dataloader. install the latest version of dataloader and in the bin directory you will find "encrypt" and "process" two files.

 

use encrypt to encrypt the password and the same to decrypt it. if it works then you can use this encrypted password in ur xml file to extract data.

 

 

-Anil