summaryrefslogtreecommitdiffstats
path: root/system/libraries/Encrypt.php
AgeCommit message (Collapse)AuthorFilesLines
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
2008-05-11Removed closing PHP tags, replaced with a comment block identifying the end ↵Derek Jones1-1/+3
of the file
2008-05-11Undoing change committed in r1115Derek Jones1-0/+1
2008-05-11removed closing PHP tag from all framework filesDerek Jones1-1/+0
2008-05-05Added get_dir_file_info(), get_file_info(), and get_mime_by_extension() to ↵Derek Allard1-3/+3
the File Helper. Changed ( ! condition) into (! condition) within the code
2008-01-28* Added valid_base64() to the Validation classDerek Jones1-7/+21
* Tightened up validation of the supplied string given to the decode() method of the Encryption class (#3320)
2008-01-21replaced www.codeigniter.com with codeigniter.comDerek Jones1-3/+3
2008-01-18ExpressionEngine Dev Team in creditDerek Allard1-2/+2
2008-01-17fixed bug #3003 preventing encryption from working with modes other than ↵Derek Jones1-2/+75
MCRYPT_MODE_ECB. Also added some noise to the cipher so the IV can safely be transported along with the encrypted data.
2007-10-04Fixed a typo in the docblock comments that had CodeIgniter spelled CodeIgnitor.Derek Allard1-1/+1
2007-06-18typo in commentsDerek Allard1-1/+1