Jump to content

[SOLVED] Hashing?


SchweppesAle

Recommended Posts

Hi, I was hoping to take a string value then convert it - consistently - across each of our pages into a alphanumeric value. 

 

I figured the hash function would be able to accomplish this; the results don't appear to be consistent though. 

 

I'm probably going about this the wrong way.  Any recommendations? :P

 

Link to comment
https://forums.phpfreaks.com/topic/178237-solved-hashing/
Share on other sites

Hi, I was hoping to take a string value then convert it - consistently - across each of our pages into a alphanumeric value. 

 

I figured the hash function would be able to accomplish this; the results don't appear to be consistent though. 

 

I'm probably going about this the wrong way.  Any recommendations? :P

 

 

just so you guys know, this is for a cookie pointer value.  I figured retrieve the domain and then "mix it up" so users can't readily identify and then mess with the value.  I'd enter a static value, however we'll probably be implementing this plugin across multiple sites. 

Link to comment
https://forums.phpfreaks.com/topic/178237-solved-hashing/#findComment-939739
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.