Show
Ignore:
Timestamp:
11/01/2007 03:14:45 AM (13 months ago)
Author:
PugFish
Message:

Englishised some descriptions
Converted Validation to new comments

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Encrypt.php

    r931 r932  
    3030         * Method: get_key 
    3131         *  Returns it as MD5 in order to have an exact-length 128 bit key. 
    32          *  mcrypt is sensitive to keys that are not the correct length 
     32         *  mcrypt is sensitive to keys that are not the correct length. 
    3333         * 
    3434         * Parameters: 
     
    5454        /* 
    5555         * Method: set_key 
    56          *  Set the encryption key 
     56         *  Set the encryption key. 
    5757         * 
    5858         * Parameters: 
     
    9696        /* 
    9797         * Method: decode 
    98          *  Reverses the encode process 
     98         *  Reverses the encode process. 
    9999         * 
    100100         * Parameters: 
     
    123123        /* 
    124124         * Method: xor_encode 
    125          *  Takes a plain-text string and key as input and generates an encoded bit-string using XOR 
     125         *  Takes a plain-text string and key as input and generates an encoded bit-string using XOR. 
    126126         * 
    127127         * Parameters: 
     
    154154        /* 
    155155         * Method: xor_decode 
    156          *  Takes an encoded string and key as input and generates the plain-text original message 
     156         *  Takes an encoded string and key as input and generates the plain-text original message. 
    157157         * 
    158158         * Parameters: 
     
    178178        /* 
    179179         * Method: xor_merge 
    180          *  Takes a string and key as input and computes the difference using XOR 
     180         *  Takes a string and key as input and computes the difference using XOR. 
    181181         * 
    182182         * Parameters: 
     
    202202        /* 
    203203         * Method: mcrypt_encode 
    204          *  Encrypt using mcrypt 
     204         *  Encrypt using mcrypt.. 
    205205         * 
    206206         * Parameters: 
     
    221221        /* 
    222222         * Method: mcrypt_decode 
    223          *  Decrypt using mcrypt 
     223         *  Decrypt using mcrypt. 
    224224         * 
    225225         * Parameters: 
     
    240240        /* 
    241241         * Method: set_cipher 
    242          *  Set the mcrypt Cipher 
     242         *  Set the mcrypt Cipher. 
    243243         * 
    244244         * Parameters: 
     
    252252        /* 
    253253         * Method: set_mode 
    254          *  Set the mcrypt Mode 
     254         *  Set the mcrypt Mode. 
    255255         * 
    256256         * Parameters: 
     
    264264        /* 
    265265         * Method: get_cipher 
    266          *  Get mcrypt cipher Value 
     266         *  Get mcrypt cipher Value. 
    267267         * 
    268268         * Returns: 
     
    281281        /* 
    282282         * Method: get_mode 
    283          *  Get mcrypt Mode Value 
     283         *  Get mcrypt Mode Value. 
    284284         * 
    285285         * Returns: 
     
    298298        /* 
    299299         * Method: set_hash 
    300          *  Set the Hash type 
     300         *  Set the Hash type. 
    301301         * 
    302302         * Parameters: 
     
    310310        /* 
    311311         * Method: hash 
    312          *  Hash encode a string 
     312         *  Hash encode a string. 
    313313         * 
    314314         * Parameters: