cancel
Showing results for 
Search instead for 
Did you mean: 

Encryption Scheme - key lengh

GuillaumeDacheu
Level 2
Hi Team,

I have generated an AES-256 key in the BP system tab (use of function "generate key", as illustrated in the image hereafter).
Because of the method used (AES-256), I expected a key with 32 digits, but there are 44 digits.
This 44 digits key can't be read by another software that requires 32 digits with for AES-256 method.
How to transform this 44 digits key into a 32 digits key so that the external software could decrypt datas that have been encrypted in BP with this key?
17503.png


------------------------------
Guillaume Dacheux
Manager
EY
Europe/Paris
------------------------------
2 REPLIES 2

TobiasArnold
Level 6
Hi Guillaume,

the displayed key is Base64 encoded. If you decode the key with a Base64 decoder e.g. Convert.FromBase64String (.NET Framework) you will get 32 bytes binary data as you need.

------------------------------
Tobias Arnold
RPA Developer
ITERGO GmbH
Europe/Duesseldorf
------------------------------

Hello @Tobias Arnold,

Thanks for your suggestion. 

I am currently using online Base64 encoders to decode the key I found in Blue Prism.

However, I am unable to decrypt with the keys I got from these sites such as https://www.devglan.com/online-tools/aes-encryption-decryption.

I get errors such as Invalid AES key length: 52 bytes.

So, if a text was encrypted externally, how will I decrypt it with/in Blue Prism.

And if I encrypt with Blue Prism, how to I decrypt it externally?

Any useful resources will be appreciated.


Also, @Eric Moore, can you kindly suggest alternatives?

Thanks



------------------------------
Kingsley David
------------------------------