What is the most powerful free encryption I can get on x10hosting?
I'm currently using sha1, but for a project I need something more powerful. I'm going to assume that sha512 is the best?
What is the most powerful free encryption I can get on x10hosting?
I'm currently using sha1, but for a project I need something more powerful. I'm going to assume that sha512 is the best?
Up to now, I believe it's the best.
And I also think that all php installation share the same number of algorithms.
█ Xavier L | Community Public Relations Manager (Free Hosting Support)
█ Yes, my position is too cool to even exist!
█ How am I helping? Rate this post by clicking theicon below! (this is even better than "liking" a post)
█ Terms of Service | Acceptable Use Policy | x10Hosting Wiki
first of all you did not specify if it was a forward-only or two way encryption. i will assume you mean forward only.
sha does have the best algorithm. sha512 is probably overkill for what you need (which you should post).
i'm going to make a little security breach and tell you what i use: sha256. It's still fast enough and high enough in encryption.
the general practice is:
encoding- sha256_hex => base64
decoding - unencode base 64 and match your encryption on sha256
the sha's of which are salted
Last edited by vol7ron; 03-07-2009 at 03:11 AM.
If you find my post useful please add to my reputation by clicking the +Rep button
You may also use the Donate link to donate credits - this is appreciated tooThanks to those whom have donated so far!
Thank you.
What is the php code to put something in sha256?
I know sha1 works as such:
<?
$string = "hi";
$string = sha1($string);
?>
btw, I do indeed mean forward only. sha512 would only be considered overkill if it would come with a great performance hit.