Commit Graph

53 Commits (0cc07ef41efe5a29d90403f0dccc65b51cc4ba9b)

Author SHA1 Message Date
erg 1f5a2b0d75 crc32, rsa rename 2006-02-28 01:37:36 +00:00
erg ba13bb7eea crypto improvements, and blum blum shub 2006-02-27 05:04:25 +00:00
erg ba79f3178a random-tester
fixed bugs in random-tester
removed debug statement in base64
2006-02-19 21:26:27 +00:00
erg ce4858b656 base64 uses group now 2006-02-08 23:57:33 +00:00
erg 862bb5aac1 Initial checkin of base64 2006-02-08 22:10:45 +00:00
Doug Coleman b0a96bfc77 Added rc4 2006-01-30 08:25:03 +00:00
Doug Coleman 4daa68df8b some bad random algorithms
needs cleanup
initial checkin
2006-01-30 07:06:17 +00:00
Doug Coleman 20bc43e651 added rsa
added miller-rabin
2006-01-30 07:05:53 +00:00
Trent Buck 8914e9b640 Use run-resource for code distributed with Factor; run-file is for user code. 2006-01-21 06:04:03 +00:00
Trent Buck 0b721bb542 Don't compile contrib/ files until the very end; reduces compile time considerably. 2006-01-20 01:27:38 +00:00
Slava Pestov d0d12e9462 many contrib/ fixes by Trent Buck 2006-01-18 19:06:34 +00:00
Doug Coleman 1bafed23f1 fixed sum's move to contrib-math 2006-01-13 08:05:02 +00:00
Doug Coleman 7384c159f5 fill -> <string> 2005-12-29 20:13:57 +00:00
Doug Coleman b8794d8bee stdio unparser vocabs removed 2005-12-20 21:39:13 +00:00
Doug Coleman a0fa2d3b6e [[ -> { 2005-11-28 22:51:00 +00:00
Slava Pestov 23738087aa big syntax change: vectors are now V{ }, hashtables are now H{ }, tuples T{ }, wrappers W{ }, complexes C{ }, arrays { } 2005-10-30 03:25:38 +00:00
Doug Coleman 8c27d62a03 Removed some print lines that should not have been checked in 2005-10-28 00:24:24 +00:00
Doug Coleman f318648f4c moved to contrib/math/combinatorics and analysis 2005-10-20 23:44:48 +00:00
Doug Coleman 3a5aece387 moved to contrib/math 2005-10-20 04:10:25 +00:00
Doug Coleman c6dd354388 Added some fun identities 2005-10-19 06:55:36 +00:00
Doug Coleman 387e96018e Added: gammaln(x). it's inf for all -x
Fixed the unit-tests for gamma -- the abs(diff) < 0.0001, not: diff < .0001
2005-10-19 06:48:08 +00:00
Doug Coleman 8ecb2f0e09 Initial checkin
factorial, nCk, nPk, gamma(x)
2005-10-19 05:56:30 +00:00
Doug Coleman 47ea66e1ea Somehow a couple lines of diff ended up in cvs.. 2005-10-18 18:38:45 +00:00
Doug Coleman befabc5fee added try-compile 2005-10-18 18:37:42 +00:00
Doug Coleman 1ed21403ca pop-front more efficient now 2005-10-16 22:13:00 +00:00
Doug Coleman a77f8c7bf1 And another clone in (pgcd) 2005-10-16 22:00:56 +00:00
Doug Coleman 2e715a33c2 pgcd's { 0 } and { 1 } seqs needed to be cloned. 2005-10-16 21:59:30 +00:00
Doug Coleman 526adb02f9 Cleaned up p/mod
Cleaned up the code in general
2005-10-16 21:39:46 +00:00
Doug Coleman a005a99c16 Initial checkin 2005-10-16 19:11:50 +00:00
Slava Pestov 29104bb40e fix powerpc relocation bug 2005-10-12 01:46:14 +00:00
Slava Pestov 6b8e232c63 fix bignum emission, put MT in core 2005-10-08 05:15:14 +00:00
Doug Coleman 1f08ee4c6f oops, removed USE: io from last debug session 2005-10-05 07:20:35 +00:00
Doug Coleman 3409f887e1 major bugfix, was not wrapping around the mt array so the last element stayed the same
fixed a refactoring error.
added a unit test for the 10,000th random of seed 5489
2005-10-05 07:19:29 +00:00
Doug Coleman 0e148687ad dup over dup => dup 2dup 2005-10-05 05:52:15 +00:00
Doug Coleman ea58378a57 Call y from inside set-mth-ith 2005-10-05 05:49:05 +00:00
Doug Coleman 5be3e42f30 Uses array instead of sequence
off by one on sequence initial size corrected
[ 1 + ] change  => inc
2005-10-05 05:45:58 +00:00
Doug Coleman 7192167304 Removed (internal) words with no corresponding non-internal
Removed SYMBOL: init
minor cleanups
2005-10-05 05:21:14 +00:00
Doug Coleman 388338c7ce Initial commit 2005-10-03 23:04:30 +00:00
Doug Coleman f586f5913a ifte -> if 2005-09-25 06:15:29 +00:00
Doug Coleman db8fd1cc50 sha1 refactoring
string>md5 now gives a binary string.
the old string>md5 is now string>md5str
2005-09-19 00:19:59 +00:00
Slava Pestov 22ab0d97fa performance improvements 2005-09-10 19:53:17 +00:00
Doug Coleman dadffdf6e3 Inlined the hashtable in sha1. 2005-09-08 16:05:25 +00:00
Doug Coleman 416834a0c9 removed rot4
removed temp from sha1
removed + + + +, using vector sum instead
2005-09-01 05:43:25 +00:00
Doug Coleman 55ce64a477 Using 'cond' instead of the hashtable with stored quotations.
string>sha1 should compile once 'cond' compiles.
2005-08-30 17:54:54 +00:00
Doug Coleman 73c671ef24 Factoring some crap code into something better: nested ifte -> hash w/ stored quotations
Moved sha1 algorithm into separate words for each step
2005-08-29 22:35:34 +00:00
Doug Coleman 27c273a2cd Changed to work with the new make word. 2005-08-29 05:44:32 +00:00
Doug Coleman 36e2875836 Added bitroll. 2005-08-27 19:54:31 +00:00
Doug Coleman 762d2913a1 Added sha1.factor
Updated md5 to Factor .77
Added common.factor to contain common words to both md5 and sha1
Added load.factor
2005-08-25 10:07:50 +00:00
Doug Coleman 5384a2f805 Updated to work with .77 cvs.
Uses 'content' word as per slava's blog.
Added  'file>md5' and 'stream>md5'.
2005-08-20 08:32:53 +00:00
Slava Pestov b8d8685de8 clean up class<, class-and, class-or 2005-08-01 03:38:33 +00:00