Commit Graph

105 Commits

Author SHA1 Message Date
Christopher Jeffrey
86746e2bd0
siphash: add siphash32 and siphash64. 2017-10-18 12:58:21 -07:00
Christopher Jeffrey
f63c19cb19
bn: stop using bn#cmp. 2017-09-06 22:51:06 -07:00
Christopher Jeffrey
d277d55560
bn: use toArrayLike instead of toBuffer. 2017-08-16 15:32:24 -07:00
Christopher Jeffrey
ebb79e5ff1
secp256k1: es6ify length normalization. 2017-08-13 12:21:44 -07:00
Christopher Jeffrey
3bc47f5a3c
lint: enforce function names. 2017-08-06 21:36:48 -07:00
Christopher Jeffrey
88ef28d837
lint: no implicit casting. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
6ba8eb9951
eslint: more style rules. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
749cd9323f
aes: move lookup tables. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
5e73e51177
lint: fix function names. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
55cf07a871
refactor: style for const/let and returns. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
6f3988e861
refactor: use const as much as possible. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
9cc5c393b4
eslint: use prefer-const. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
bd56c75d0d
merkle: refactor loops. 2017-07-20 01:04:44 -07:00
Christopher Jeffrey
f50416eaf9
merkle: minor. 2017-07-19 19:55:14 -07:00
Christopher Jeffrey
6a73f61a91
crypto: do not call out for merkle building. 2017-07-19 19:47:31 -07:00
Christopher Jeffrey
2fb16a6c97
crypto: expose root256 function. 2017-07-17 22:24:00 -07:00
Christopher Jeffrey
76eb6b354b
crypto/random: minor. comments. 2017-07-17 22:22:52 -07:00
Christopher Jeffrey
20da155a08
sha256: minor. 2017-07-17 14:26:44 -07:00
Christopher Jeffrey
37da047a34
digest: avoid extra allocations. 2017-07-17 14:26:43 -07:00
Christopher Jeffrey
a627f00a3f
poly1305: fix. 2017-07-17 14:26:42 -07:00
Christopher Jeffrey
f2a939de70
poly1305: minor. 2017-07-17 14:26:42 -07:00
Christopher Jeffrey
3d65488108
crypto: fix duplicate names. 2017-07-17 14:26:40 -07:00
Christopher Jeffrey
ca48ab748f
bn: use toBuffer instead of toArrayLike. 2017-07-17 14:26:40 -07:00
Christopher Jeffrey
296e65d0fd
refactor: use es6 template strings everywhere. 2017-07-17 14:26:39 -07:00
Christopher Jeffrey
3af014119a
refactor: switch to template strings for errors. 2017-07-17 14:26:38 -07:00
Christopher Jeffrey
c53f4cf89e
refactor: switch to const/let. 2017-07-17 14:26:37 -07:00
Christopher Jeffrey
78d62c73b8
refactor: start using multiple return values. 2017-07-17 14:26:37 -07:00
Christopher Jeffrey
307e7dd698
webpack: get bcoin building in webpack for node. 2017-06-28 18:04:20 -07:00
Christopher Jeffrey
24cd81a1bd
webpack: use -browser convention instead of aliases. 2017-06-28 12:45:38 -07:00
Christopher Jeffrey
09d41d32a2
rsa: minor. 2017-06-28 02:34:26 -07:00
Christopher Jeffrey
9d9d8e2133
refactor: lint. 2017-06-28 02:32:00 -07:00
Christopher Jeffrey
2a5a8cdc93
pbkdf2: fix for browser. 2017-06-27 18:22:19 -07:00
Christopher Jeffrey
62e7f97359
refactor: module index. 2017-06-27 09:28:18 -07:00
Christopher Jeffrey
d4cc22e1c5
refactor: crypto. 2017-06-27 07:27:53 -07:00
Christopher Jeffrey
63e6a97de3
refactor: lint. 2017-06-27 03:54:14 -07:00
Christopher Jeffrey
fa3e98b274
crypto: rename ec to secp256k1. 2017-06-27 02:48:19 -07:00
Christopher Jeffrey
5d6e089c92
crypto: refactor pk.js. 2017-06-27 02:34:17 -07:00
Christopher Jeffrey
d9342cd81c
util: rely on polyfill for nextTick and typed arrays. 2017-06-26 23:31:32 -07:00
Christopher Jeffrey
8b2a0ce446
util: do not use util.global. 2017-06-26 23:07:06 -07:00
Christopher Jeffrey
2ef4d137e6
pkg: switch from jshint to eslint. 2017-06-24 04:45:46 -07:00
Christopher Jeffrey
84eccc29fa
refactor: switch to async/await. see #227. 2017-06-24 02:39:06 -07:00
Christopher Jeffrey
68a3209a96
schnorr: add hmac-drbg. refactor. 2017-06-22 05:22:06 -07:00
Christopher Jeffrey
33ffb780b3
refactor: expose int64 and big numbers as modules. 2017-06-22 03:59:49 -07:00
Christopher Jeffrey
015fb8b0b6
siphash: return objects instead of buffers. 2017-06-16 14:30:25 -07:00
Christopher Jeffrey (JJ)
dd16950fe2 Merge pull request #219 from jjz/master
Add tes new test file of key-address-test
2017-06-15 22:50:44 -07:00
Christopher Jeffrey
2b569883bf
refactor: lint. 2017-06-14 20:32:11 -07:00
Christopher Jeffrey
b722e5f6e9
ec: remove historical and high params. 2017-06-13 18:31:04 -07:00
Christopher Jeffrey
a3c7a49c80
refactor: replace util.equal with Buffer#equals. 2017-06-12 03:00:08 -07:00
Christopher Jeffrey
49976e7d6f
crypto: better siphash addition. 2017-06-05 05:18:44 -07:00
Christopher Jeffrey
f0b43764b1
crypto: better addition for siphash. 2017-06-03 03:47:39 -07:00