fpirsch
76db206551
fix incorrect padding with multi-byte strings
...
As far as encrypting and paddings are concerned, we are talking about **bytes** and not **characters**. So basic strlen/substr functions must be used instead of their mbstring version.
2013-05-05 15:00:23 +03:00
Taylor Otwell
15414808a1
fix padding bug in crypter.
2013-03-28 15:50:25 -05:00
NetPuter
b48621901f
Use `mb_substr` instead of `sub_str` in order to resolve multi-language problem.
2012-11-16 17:41:37 +08:00
Greg Aker
88dd2f3232
Altering visibility of Crypter::randomizer() to public.
2012-04-07 14:09:22 -05:00
Taylor Otwell
ea358eb371
cleaning up code.
2012-02-19 22:56:59 -06:00
Taylor Otwell
bb0967cceb
throw exception if padding is invalid.
2012-02-16 14:53:22 -06:00
Taylor Otwell
ab5ce2a7eb
added pkcs7 compliant padding to encryption class instead of default 0 padding.
2012-02-16 14:31:11 -06:00
Taylor Otwell
0438c69648
added better random sources in crypter, seed random number generator on every call.
2012-02-12 19:45:04 -06:00
Taylor Otwell
ebcf34e3b4
cleaning up crypter.
2012-02-08 21:31:27 -06:00
Taylor Otwell
2b12c0c140
modified cookie class. set application key on first request if not set.
2012-01-31 15:58:00 -06:00
Taylor Otwell
97fcea1e51
cleaned up paths.
2012-01-28 14:55:08 -06:00
Taylor Otwell
f44c565ee4
converted path constants to $GLOBALS.
2012-01-27 16:17:43 -06:00
Taylor Otwell
b5442c67fc
merged skunkworks into develop.
2012-01-16 13:59:24 -06:00
Taylor Otwell
d392365a1b
Trim an exception message in the crypter.
2011-11-23 08:17:19 -06:00
Phill Sparks
58638216e8
Throw better Exceptions
2011-11-15 12:35:04 +00:00
Taylor Otwell
b6ab0b08ce
moving some laravel classes around, switching alias to reflect changes. added some factories. removed system ioc container config file.
2011-11-11 21:27:30 -06:00
Taylor Otwell
1e7850d9ba
refactoring for dependency injection and testability.
2011-08-25 22:53:05 -05:00
Taylor Otwell
8c226e9d67
tweaking crypter class.
2011-08-22 22:25:12 -05:00
Taylor Otwell
ce8c230e72
tweak crypter exception message.
2011-08-22 22:21:51 -05:00
Taylor Otwell
5b85edb23b
more 2.0 changes
2011-08-19 20:12:39 -05:00
Taylor Otwell
1e90e42404
first commit of 2.0
2011-08-18 19:56:29 -05:00