Page 1 of 1

ArcFour Decrypt?

Posted: Wed Sep 27, 2017 3:42 pm
by urbanze
I working with RC4 (Arc4) from MbedTLS. I had sucessful to encrypt, but not to decrypt. I doesnt find function to decrypt. Where is it? How can I decrypt?

Image: code used to encrypt, and showing functions from mbed. (Where is decrypt function?)
Image

Re: ArcFour Decrypt?

Posted: Wed Sep 27, 2017 7:38 pm
by WiFive
https://en.m.wikipedia.org/wiki/RC4#Description
decryption is performed the same way

Re: ArcFour Decrypt?

Posted: Wed Sep 27, 2017 8:33 pm
by urbanze
WiFive wrote:https://en.m.wikipedia.org/wiki/RC4#Description
decryption is performed the same way
I tested the simple one, got the encrypted phrase and threw it in the input, to see if it returned the original message in the output. He encrypted again D: