note 96349 added to function.mcrypt-encrypt

From: Date: Mon, 22 Feb 2010 18:05:15 +0000
Subject: note 96349 added to function.mcrypt-encrypt
Groups: php.notes 
Request: Send a blank email to php-notes+get-166254@lists.php.net to get a copy of this message
If you are encrypting a password and saving it into a MySQL blob field, be aware that MySQL will trim the encoded password while doing the insert. If your encoded password has a trailing space, it will be removed on insert and decrypt will not work correctly. However you use the encrypt function, make sure your encrypted password does not have a trailing space. ---- Server IP: 64.71.164.2 Probable Submitter: 198.59.47.100 ---- Manual Page -- http://www.php.net/manual/en/function.mcrypt-encrypt.php Edit -- https://master.php.net/note/edit/96349 Del: integrated -- https://master.php.net/note/delete/96349/integrated Del: useless -- https://master.php.net/note/delete/96349/useless Del: bad code -- https://master.php.net/note/delete/96349/bad+code Del: spam -- https://master.php.net/note/delete/96349/spam Del: non-english -- https://master.php.net/note/delete/96349/non-english Del: in docs -- https://master.php.net/note/delete/96349/in+docs Del: other reasons-- https://master.php.net/note/delete/96349 Reject -- https://master.php.net/note/reject/96349 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#166254) next »