diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-01-03 10:01:50 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-01-03 10:01:50 +0100 |
commit | 166396ed9e03f78444970372983d50fd34a5ca96 (patch) | |
tree | f209bdbc89c0e4310ebf772299e0bd7e7ecef68d /user_guide_src/source/libraries/encryption.rst | |
parent | b195637240bbbc7c3dc7ee0585f0e4cd39cb9d81 (diff) | |
parent | 29e1122c19c532b7299598fb7ddfb7f15264ad78 (diff) |
Merge remote-tracking branch 'upstream/develop' into develop-xmlrpc
Diffstat (limited to 'user_guide_src/source/libraries/encryption.rst')
-rw-r--r-- | user_guide_src/source/libraries/encryption.rst | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/user_guide_src/source/libraries/encryption.rst b/user_guide_src/source/libraries/encryption.rst index 80b45e4d7..28bdca203 100644 --- a/user_guide_src/source/libraries/encryption.rst +++ b/user_guide_src/source/libraries/encryption.rst @@ -126,21 +126,6 @@ Example:: Please visit php.net for a list of `available modes <http://php.net/mcrypt>`_. -$this->encrypt->sha1(); -======================= - -SHA1 encoding function. Provide a string and it will return a 160 bit -one way hash. Note: SHA1, just like MD5 is non-decodable. Example:: - - $hash = $this->encrypt->sha1('Some string'); - -Many PHP installations have SHA1 support by default so if all you need -is to encode a hash it's simpler to use the native function:: - - $hash = sha1('Some string'); - -If your server does not support SHA1 you can use the provided function. - $this->encrypt->encode_from_legacy($orig_data, $legacy_mode = MCRYPT_MODE_ECB, $key = ''); ========================================================================================== |