Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • md5 function in PHP

    • 0
    • 1
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 106
    Comment on it

    The md5 function in PHP is used to hash or encrypt a string by calculating the md5 .

    The syntax is:

    md5 ('string', raw)
    

    The string here is passed to encrypt the string and the raw is an optional field,which is the format of output.It uses the RSA Data Security for hashing purpose. if the raw field is TRUE it means Raw 16 character binary format or else if it is FALSE it means default. 32 character hex number

    Example

    echo md5('1');
    

    Result:

    c4ca4238a0b923820dcc509a6f75849b

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: