# OpenSSL encrypt result changes

**URL:** <https://www.phphelp.com/t/openssl-encrypt-result-changes/21129>\
**Category:** Security and PHP\
**Created:** [September 19, 2013, 10:00am UTC](https://www.phphelp.com/t/openssl-encrypt-result-changes/21129 "2013-09-19T10:00:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![welton122](https://www.phphelp.com/user_avatar/www.phphelp.com/welton122/32/959_2.png) [@welton122](https://www.phphelp.com/u/welton122)\
**Post date:** [September 19, 2013, 10:00am UTC](https://www.phphelp.com/t/openssl-encrypt-result-changes/21129/1 "2013-09-19T10:00:00Z")

</div>

Hi,

I have a big problem. I’m using openssl to encrypt login information however when i upload my code to my online server, the result from the encryption changes meaning the user cannot log into their account.

Does anyone know a reason for there being a different result from the encryption process. There both using the same key and same method (RC4-40).

Any help would be greatly appreciated

Thanks
