Re: Storing CCN's Again...
| From: | trlists at clayst dot com | Date: | Tue, 08 Feb 2005 17:16:17 +0000 |
| Subject: | Re: Storing CCN's Again... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-208267@lists.php.net to get a copy of this message | ||
On 8 Feb 2005 Greg Donald wrote:
> It's pretty simple to scrub the data away.
>
> $cc = '1234123412341234';
>
> // do processing
>
> $cc = md5( time() );
This only works if PHP uses the same storage for both strings. If it
reallocates the storage, for example because the md5 result is longer,
then the number may remain in RAM.
--
Tom