Commit Graph

41 Commits

Author SHA1 Message Date
Antony Dovgal
f443488507 [DOC] add hash_copy() to be able to copy hash resource 2008-04-21 15:37:07 +00:00
Antony Dovgal
5b6995730d fix folding 2008-04-04 07:47:18 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Sara Golemon
88322b95b3 Fix hash_init() for PHP < 6 2007-08-24 21:27:38 +00:00
Michael Wallner
56fcde4f4a - version agnosticism (PECL/HEAD)
- release 1.4
# you ignorants shall burn in hell
2007-05-30 07:10:25 +00:00
Sara Golemon
bfc19a1411 MFB(r-1.18.2.5.2.7) Use slprintf() instead of snprintf() - Bad Ilia, no biscuit for you. 2007-05-26 03:56:41 +00:00
Nuno Lopes
2b8323c34a MFB: constify 2007-01-08 22:29:52 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Sara Golemon
7b5058378c Allow hash()/hash_hmac() to accept ascii-unicode data,
Update tests to work in unicode.semantics mode.
2006-10-02 01:38:05 +00:00
Sara Golemon
6781debeb8 Add ripemd256 and ripemd320 algos 2006-09-20 01:48:06 +00:00
Sara Golemon
5cb3858aa3 PHP6 Updates 2006-09-20 00:32:54 +00:00
Sara Golemon
c8f96d157d Strip unused implementations of md5(), md5_file(), sha1(), and sha1_file()
from this extension.

It was decided a few months ago that those implementations would simply
stay in ext/standard and never leave.
2006-09-19 23:42:49 +00:00
Ilia Alshanetsky
f6b0244790 MFB: cleanup of the phpinfo() output. 2006-07-28 14:27:17 +00:00
Hannes Magnusson
587311d07e Added argument info
Fixed protos
Fixed vim folding
2006-06-17 13:00:21 +00:00
Michael Wallner
b31ca2c43d MF52: nuke compiler warnings 2006-05-19 14:30:48 +00:00
Michael Wallner
73ed69f60d - version agnosticism (PECL/HEAD) 2006-03-03 20:44:05 +00:00
Sara Golemon
3b7d690912 Add md2 algo support 2006-02-21 20:37:12 +00:00
Dmitry Stogov
0f1209ab3d Portable unicode string API:
- use the same type (int) for zval.value.usr.len and zval.value.str.len
  - use union "zstr" as char*/UChar* mixture instead of void*
  - Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
  - nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Andi Gutmans
1efe984d08 - Get rid of using ENFORCE_SAFE_MODE. 2006-02-19 04:29:42 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
Sara Golemon
c456c16952 Add MD4 support 2005-12-03 00:51:30 +00:00
Sara Golemon
73012ee257 Add hash_hmac() and hash_hmac_file() for single shot HMAC calculations 2005-12-01 04:53:55 +00:00
Michael Wallner
f79f89e265 - fix PHP4 build 2005-11-30 11:11:52 +00:00
Michael Wallner
90561e4fe8 - add crc32 2005-11-26 00:08:06 +00:00
Michael Wallner
6c16fac2b5 - add adler32 2005-11-25 23:12:44 +00:00
Michael Wallner
7a9fcb329f - add gost algo
- declare tables static
2005-11-25 16:12:30 +00:00
Michael Wallner
f1054f3473 - add snefru algo
- fix empty else in config.m4
2005-11-25 11:54:49 +00:00
Michael Wallner
4ce1074df9 - add tiger algo 2005-11-24 08:59:54 +00:00
Michael Wallner
ddc2444d2c - add whirlpool algo 2005-11-23 21:15:41 +00:00
Michael Wallner
d11d157c9f - no trailing NULs 2005-11-23 16:36:11 +00:00
Ilia Alshanetsky
083874aab2 emalloc -> safe_emalloc 2005-11-23 00:19:20 +00:00
Michael Wallner
4c61cf6f4c - install extension headers
- make the hash algo registry case insensitive
- "export" inline php_hash_bin2hex
2005-11-22 19:17:58 +00:00
Sara Golemon
9496259e1a Fix double-final potentially causing double-free 2005-11-21 06:05:37 +00:00
Sara Golemon
7ad4fb0c27 Add HAVAL algorithm
Bit widths: 128, 160, 192, 224, 256
Passes: 3, 4, 5
2005-11-20 20:14:22 +00:00
Sara Golemon
7cbd9686b1 Add streams based incremental hashing updaters 2005-11-19 21:09:40 +00:00
Sara Golemon
ef37868378 Expose registered hashing algos 2005-11-19 20:13:08 +00:00
Sara Golemon
7cd42570ed Add HMAC support 2005-11-18 20:58:54 +00:00
Sara Golemon
614a3fb8a4 Expose sha1() and sha1_file() functions when core funcs not present
Not an issue yet, but could be...
2005-11-18 20:17:31 +00:00
Sara Golemon
5c213de12e Initial Commit 2005-11-18 19:51:09 +00:00