summaryrefslogtreecommitdiffstats
path: root/system/libraries/Encrypt.php
AgeCommit message (Collapse)AuthorFilesLines
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-10-05config_item() to return NULL instead of FALSE for non-existing itemsAndrey Andreev1-1/+1
Close #3001 Close #3232 Related: #3244
2014-08-27[ci skip] Update a comment block descriptionAndrey Andreev1-1/+1
2014-05-31Remove CI_Encrypt::_xor_encode()Andrey Andreev1-47/+12
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2013-03-30Some cleanup related to mt_rand()vlakoff1-1/+1
- min and max values are 0 and mt_getrandmax() by default - remove useless mt_srand() seed calls
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-12-17update for Issue #2064 (changed docblocks which return $this or only call a ↵Andrew Podner1-3/+3
method that returns $this to @return CI_DB_class_name)
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+2
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-10-11Update system/libraries/Encrypt.phpBogdan Lysenko1-1/+1
2012-10-10libraries/Encrypt.php decode improvementlysenkobv1-1/+1
if base64 string is NO valid the result of decoded string is something like this "23Y�����������S�� �����i��!q" (base64_encode(base64_decode($string)) !== $string) check is this base64 string valid
2012-10-04Removed redundant parenthesis around `in_array()`Daniel Morris1-1/+1
2012-10-03Support for hashing algorithms other than SHA1 and MD5Daniel Morris1-2/+2
Signed-off-by: Daniel Morris <daniel@honestempire.com>
2012-06-12Fix issue #1202Andrey Andreev1-0/+1
2012-06-07replace get_config by config_itemJoffrey Jaffeux1-2/+1
2012-06-04Fix issue #1423Andrey Andreev1-2/+2
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/librariesAlex Bilbie1-4/+4
2012-05-17Clean up the librariesAndrey Andreev1-5/+7
2012-04-20Start comment cleanup of librariesTimothy Warren1-1/+34
2012-04-03Some very minor code style changes and comment fixesAndrey Andreev1-13/+14
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-1/+1
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway...
2012-01-25Merge pull request #842 from narfbg/develop-encryptPhil Sturgeon1-75/+37
Improve the Encryption library
2012-01-24Revert a space in the license agreement :)Andrey Andreev1-1/+1
2012-01-19Some more cleaningAndrey Andreev1-4/+2
2012-01-10Two returnsAndrey Andreev1-3/+2
2012-01-08Some more misc. stuffAndrey Andreev1-10/+3
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-12-27Improve the Encryption libraryAndrey Andreev1-60/+32
2011-12-26Removing previously deprecated SHA1 library and removed SHA1 method in the ↵Greg Aker1-78/+27
Encryption Library
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-4/+16
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-1/+1
broke the Typography class's string replacements, for instance
2011-04-25Fixed double-space typo.Razican1-1/+1
2011-04-19Removing internal references to the EXT constant. Additionally, marked the ↵Greg Aker1-1/+1
constant as deprecated. Use ".php" instead. Also adding upgrade notes from 2.0.2 to 2.0.3.
2011-01-05Hey look, it's 2011Greg Aker1-1/+1
2010-11-10Changing all class constructors to __construct()Greg Aker1-1/+1
2010-11-10Updating PHP requirements in files 5.1.6Greg Aker1-1/+1
2010-10-04Cleanup of stray spaces and tabsBarry Mieny1-15/+15
2010-09-02fixed a spot where the encryption mode was still a hard coded constant ↵Derek Jones1-1/+1
instead of the fetched variable
2010-08-31Significant changes to the Encryption libraryDerek Jones1-6/+69
- Removed double-encoding with XOR scheme when Mcrypt is available. Additional obfuscation was not significantly aiding security, and came at a very high performance cost. - Changed the default encryption mode from ECB to CBC for much improved security - Added an encode_from_legacy() method to allow re-encoding of permanent data that was originally encoded with the older methods.
2010-08-31changed key comparison to be loosely typed, so an error would be triggered ↵Derek Jones1-1/+1
when an empty string is attempted to be used as an encryption key
2010-01-05updated copyrightsDerek Jones1-1/+1
2009-04-22updated copyrights to 2009Derek Jones1-1/+1
2008-11-13Changing EOL style to LFDerek Allard1-483/+483
2008-09-26fixed decode()'s validation of the string...Derek Jones1-1/+1
2008-09-23change of a false test (yes, again)Derek Allard1-1/+1
2008-09-23mostly trivial whitespace adjustmentsDerek Allard1-50/+50
2008-09-23change of a false testDerek Allard1-1/+1
2008-09-21removed a call to the validation class, as it's overkill for a simple preg_matchRick Ellis1-3/+1
2008-09-13updated copyrightRick Ellis1-1/+1
2008-05-13Some sweeping syntax changes for consistency:Derek Jones1-6/+6
(! foo) changed to ( ! foo) || changed to OR changed newline standardization code in various places from preg_replace to str_replace