Search the Community
Showing results for tags 'encryption'.
Found 4 results
I would like to create a a random number with random_bytes(). Can I just store the random_bytes output in the database field? Is that for instance more secure? And, regarding to sending it by email, what is the advantage above sending a code like uniqid() or md5($_POST['var'] + microtime() ? I see the screen output is a bit uncommon (with ? in a diamond ) does that have to do with the encryption? And is that the reason why reason bin2hex is used to decrypt? this is the code I would like to use: <html> <center> <br><br><br> the output of the function random_bytes is: <br><br> <?php $num = random_bytes(15); echo '<br><br>' . $num ; echo '<br><br> var dump of random_bytes with bin2hex: ' ; echo bin2hex($num); ?> </center></html>
Before I put encrypted JS code into my website, can anyone tell me if this source is trustworthy? What I mean is, does Webtools hide something nasty into the encryption in addition to what I type into the window? I want to keep my email address safe from robots. That is, I want to encrypt <a href="mailto:MYemail@MYdomain.com">...</a> I've created a dummy email address and tested it. It seems to work fine, but I don't want it if they sell the address to a spammer. I looking for protection from email skimmers, not ultimate security. I doubt someone would sift the rare JS encrypted websites for one email address. ( ...or am I being naive?) Who out there has some knowledge about this? Thank you!