Error: Twitter did not respond. Please wait a few minutes and refresh this page.
- 11,740 hits
cultivate passion for everything else that goes on around programming
While trying to encrypt and decrypt some strings in PHP and in C# using the same algorithm, I wasn’t able to found a good hint on the Internet. After some research I came to the following conclusions:
The following encryption codes are equivalent and will produce the same result. But with one additional note, worth to mention: Although in PHP the key’s length is not important, in C# you must use a key with the length of 32 bytes!