Encryption

Discussion in 'Scripts, 3rd Party Apps, and Programming' started by taekwondokid42, Mar 5, 2009.

  1. taekwondokid42

    taekwondokid42 New Member

    Messages:
    268
    Likes Received:
    0
    Trophy Points:
    0
    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?
     
  2. xav0989

    xav0989 Community Public Relation Community Support

    Messages:
    4,467
    Likes Received:
    95
    Trophy Points:
    0
    Up to now, I believe it's the best.
    And I also think that all php installation share the same number of algorithms.
     
  3. vol7ron

    vol7ron New Member

    Messages:
    434
    Likes Received:
    0
    Trophy Points:
    0
    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: Mar 7, 2009
  4. taekwondokid42

    taekwondokid42 New Member

    Messages:
    268
    Likes Received:
    0
    Trophy Points:
    0
    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.
     

Share This Page