What keys does cfusion_encrypt complement in C # alternative?

I found the answer for replicating the cfusion_encrypt function in C # here ...

ColdFusion - cfusion_encrypt () and cfusion_decrypt () - C # alternative

But the answer does not say, with what is the key padded to make it the same length as plain text? Can anyone suggest what the key is complemented with? And is it added to the right or left?

+5
source share
1 answer

This gives a clearer idea of ​​what the function does.

cfusion_encrypt

The key is repeated several times until it is longer or equal to the length of plain text.

+2
source

Source: https://habr.com/ru/post/1202318/


All Articles