Commit Graph

  • c77f28fe30 rename git.faronear.org to git.tic.cc main Luk 2025-04-11 16:49:02 +0800
  • af48ee6f10 u luk 2024-11-03 14:04:26 +0800
  • 62acb1c453 让各个编码转换的方法 (b58_to_hex, hex_to_b32, ...) 在错误情况下返回 '' 而不是 null。不知道会不会导致其它地方的问题。 luk 2024-11-03 11:50:21 +0800
  • decdcab1e5 crypto.randomUUID().replace(/-/g,'').substring(0,12) Luk 2024-10-14 15:23:50 +0800
  • ced82b18d7 用 secword.trim() 取代 secword.replace(/^\s+/, '').replace(/\s+$/, '') Luk 2024-10-10 13:04:17 +0800
  • acabbfa787 用原生 BigInt 实现了 modPow 从而重新实现了 decompress_pubkey; 调整 prikey_to_pubkey({compress}) 为 prikey_to_pubkey({uncompress}) Luk 2024-10-05 18:04:24 +0800
  • 40197b2905 发现 BigInt=require('big-integer') 可能导致和原生 BigInt 的命名冲突,改为 bigint,同时把可以用原生 BigInt 的都用 BigInt。发现 /^[b|B]/ 这种写法会识别 |,改为 /^[bB]/ Luk 2024-10-05 15:47:17 +0800
  • 43b9bd6898 ignore *nogit* and *nosf*; 似乎 hash_to_sig_distance 用的还是之前的 BigNumber,现在是失效的,重新改写。 Luk 2024-09-22 15:50:33 +0800
  • ec367b9bbd improve gitignore and seafile-ignore Luk 2024-04-24 14:17:25 +0800
  • 2b4325a03f updated .gitignore and seafile-ignore.txt using npm/sysconfig/*-ignore-find2merge.sh Luk 2024-01-28 12:16:39 +0800
  • 81436304fa update seafile-ignore.txt Luk Lu 2023-09-12 14:20:54 +0800
  • 8836721791 hex_to_eip55 returns 0x... if the paramhex is 0x... Luk Lu 2023-08-03 17:35:28 +0800
  • 16e45503be u Luk Lu 2023-04-14 09:12:41 +0800
  • b34b3b4cd5 customize_account Luk Lu 2023-03-10 22:05:09 +0800
  • 90dda262da 'add seafile-ignore.txt to every git repo' Luk Lu 2023-01-12 20:10:13 +0800
  • e304a5004a 如果不提供pathIndex,默认为0 Luk Lu 2023-01-10 13:11:45 +0800
  • c5b0d40150 fix: pathIndex 为0时不该被忽略 Luk Lu 2023-01-03 18:34:41 +0800
  • c0e237984a 让 secword_to_keypair 的默认结果和 ethers.Wallet.fromMnemonic保持一致 Luk Lu 2023-01-01 17:08:57 +0800
  • cdeb44f43f update to standard .gitignore Luk Lu 2022-12-10 19:12:14 +0800
  • ab105032ad rename ethrsa to ecrsa Luk Lu 2022-11-12 08:42:06 +0800
  • ec359d0d98 add: 通过 ethereum-rsa 实现了椭圆曲线公私钥加解密!fix: is_secword luk.lu 2022-11-11 16:17:18 +0800
  • c9b147aeaf 增加 coinFamily 参数 luk.lu 2022-10-28 12:09:31 +0800
  • eed025c4e1 update [.gitignore] to ignore /unpackage/* except for !/unpackage/res/ Luk Lu 2022-10-06 20:06:04 +0800
  • 3c9226d5f0 [.prettierrc.js] update jsxBracketSameLine:false to bracketSameLine:true so that HTML closing bracket not in a seperate line; [package.json] delete standardx Luk Lu 2022-10-05 13:10:03 +0800
  • 93eb774457 rename pathRoot to pathSeed Luk Lu 2022-09-17 15:10:16 +0800
  • dc834c8157 rename 'boot:windows' to 'boot:win'; install 'run-script-os' with '--save-dev'. luk.lu 2022-09-13 11:49:13 +0800
  • a077f95b23 reverse 'base32-encode' version to 1.2.0 because 2.0.0 must 'import' no longer support 'require' Luk Lu 2022-08-26 20:10:12 +0800
  • 4e8730e989 delete 'global.inDev', use 'global.envar.inDev' instead. luk.lu 2022-08-25 15:17:31 +0800
  • a5b0e68efc use standard [.gitignore] file Luk Lu 2022-08-20 10:24:53 +0800
  • 98f055dfb3 upgrade npm libraries to latest major versions luk.lu 2022-08-18 13:06:22 +0800
  • a43a43ed16 u luk.lu 2022-08-17 12:22:44 +0800
  • d54cc58c80 u luk.lu 2022-08-16 12:50:24 +0800
  • 71eb5d5dce Merge branch 'main' of https://git.faronear.org/npm/tic-crypto luk.lu 2022-08-16 11:59:32 +0800
  • 1893a0ae9d <secword_to_keypair> should check secword because secword_to_seed accepts even empty secword luk.lu 2022-08-16 11:59:28 +0800
  • e7f538b472 rename seckey to prikey Luk Lu 2022-08-14 15:51:19 +0800
  • 7a8ea70608 u Luk Lu 2022-08-14 14:50:23 +0800
  • 741eb70245 u luk.lu 2022-08-12 12:03:02 +0800
  • a9dac7e858 add secp256k1 library luk.lu 2022-08-03 16:34:57 +0800
  • 34cf26e168 把大多数ticc方法的参数类型统一为 { ... } 对象 luk.lu 2022-08-03 16:30:09 +0800
  • 0cb2547d17 rename this.hash to this.hash_easy luk.lu 2022-08-03 14:53:31 +0800
  • cc01e71f48 rename ticc.sign/verify/encrypt/decrypt/hash to ticc.xxx_easy luk.lu 2022-07-23 16:03:21 +0800
  • 1d79a3b560 updated luk.lu 2022-07-23 12:40:04 +0800
  • 78c4e16868 rename pass2keypair to pass_to_keypair luk.lu 2022-07-23 10:08:14 +0800
  • f73f4beb23 u Luk Lu 2022-07-03 23:01:29 +0800
  • 5bfd536c03 u Luk Lu 2022-07-03 16:03:09 +0800
  • dff0b62d64 rename all libs from xxx.yyy to xxx-yyy Luk Lu 2022-06-04 12:08:49 +0800
  • 24450a4022 优化 Luk Lu 2022-06-04 08:17:40 +0800
  • c2adfd5a14 u Luk Lu 2022-06-02 13:06:42 +0800
  • 32b36dff0a u Luk Lu 2022-05-28 13:32:19 +0800
  • 74694866bc 添加 cid 转换函数 Luk Lu 2022-05-28 09:08:55 +0800
  • 447a3eb442 rename b64u to b64t; rename x2y 为 x_to_; add b32 的转换函数 Luk Lu 2022-05-12 08:52:48 +0800
  • b2abb16e81 优化 b64u 的定义,用 . 代替 -,因为 - 和空格一样导致 css white-space 自动换行 Luk Lu 2022-04-29 15:21:52 +0800
  • fcf41dd77e substring change to substr Luk Lu 2022-04-03 14:32:30 +0800
  • 7fb2590670 fix: b582hex 里错误的调用了 bs58check luk.lu 2021-11-16 09:57:02 +0800
  • 50a88a7efd add hex2b58 and b582hex Luk Lu 2021-11-15 23:20:50 +0800
  • 8df15515a6 u Luk Lu 2021-11-15 23:06:28 +0800
  • 31384ce340 u Luk Lu 2021-10-15 19:40:50 +0800
  • cd37a2b9bb move aiid2regcode/regcode2aiid to core.tool luk.lu 2021-09-24 16:43:29 +0800
  • f0d90036b1 u luk.lu 2021-09-23 14:46:25 +0800
  • 53c6603ac4 Merge branch 'main' of https://git.faronear.org/npm/tic.crypto luk.lu 2021-09-23 10:15:21 +0800
  • 45f748afb6 add support for EXT coin luk.lu 2021-09-23 10:15:18 +0800
  • a276bbe703 u Luk Lu 2021-09-22 21:19:27 +0800
  • 4f23d79919 bugfix: seed2path 忘了解析出part5 陆柯 2021-09-07 15:39:24 +0800
  • 99e748e269 [README.md] 补充一些测试记录 luk.lu 2021-08-24 16:05:25 +0800
  • 7ac41c9f32 buf fix: 把 options 换成 {...} 写法后,secword2address 没能把 world 参数传递到 position2address,导致生成地址错误。 luk.lu 2021-06-16 11:09:20 +0800
  • d0500a9730 简化 jsdoc 相关设置 luk.lu 2021-06-07 10:50:13 +0800
  • 812ce057a2 rename w1dev to comet Luk Lu 2021-05-22 14:54:49 +0800
  • 437ba95af4 u Luk Lu 2021-05-12 16:17:59 +0800
  • 5eb589ac2c 换回 crypto.createVerify 方案 Luk Lu 2021-05-08 22:42:53 +0800
  • 30706da9fb crypto.sign/verify 在浏览器中不存在,换回原来的方案 Luk Lu 2021-05-08 22:42:08 +0800
  • 8873cd8884 删掉所有 option 参数,换用具体的 {...} Luk Lu 2021-05-08 22:34:01 +0800
  • 8780cd1c40 crypto.createVerify(必须要有algorithm参数) Luk Lu 2021-05-08 17:23:59 +0800
  • d2e9f368cc 优化 sign/verify/encrypt/decrypt 的参数为一整个对象 {...} Luk Lu 2021-05-08 16:48:34 +0800
  • 1a329157bd 必须添加 tool 参数 Luk Lu 2021-05-08 10:24:40 +0800
  • 88ee0cd8df 优化 sign 和 verify Luk Lu 2021-05-07 20:15:01 +0800
  • 00287a0944 把 eccrypto 换成 eccrypto-js luk.lu 2021-05-07 16:29:20 +0800
  • 43b913c4b4 u Luk Lu 2021-03-10 15:59:46 +0800
  • 4a43057f3c 优化 seed2path Luk Lu 2021-02-14 10:56:46 +0800
  • 73c33e3175 优化 isHashable Luk Lu 2021-01-24 11:57:38 +0800
  • 069a3ff28c 改造成 jsdoc 的注释格式 Luk Lu 2020-11-11 19:36:44 +0800
  • 8c0fcdc3be 格式化 Luk Lu 2020-11-05 10:25:35 +0800
  • 34b4a8b440 添加 .prettierrc.js Luk Lu 2020-11-05 09:48:13 +0800
  • ae96a990f1 改进 README.md Luk Lu 2020-10-31 12:20:02 +0800
  • df71cf346a 统一更新一批库的版本 Luk Lu 2020-10-31 12:19:51 +0800
  • ffad2cc8f6 fixed: big-integer 没有 sub 方法,改成 subtract Luk Lu 2020-05-07 16:57:19 +0800
  • 3145d4864c 似乎 secp256k1 导致 hdkey 的 derive 抛出异常,删掉试试。 Luk Lu 2020-05-06 14:17:12 +0800
  • 4e1d6ae98b 把 net 改名 world, testnet 改名 moon, mainnet 改名 earth, devnet 改名 w1dev Luk Lu 2020-05-06 10:29:54 +0800
  • 6154eaef29 u Luk Lu 2020-05-04 15:37:09 +0800
  • b6b90b6a38 u Luk Lu 2020-05-03 08:22:35 +0800
  • c5334b6c8f 默认采用 crypto 的 sign/verify,不再默认用 eccrypto 的。 Luk Lu 2020-03-31 08:50:07 +0800
  • 36491d495f 把 TIC的bip44路径从66改成 60000 Luk Lu 2020-03-27 18:15:33 +0800
  • fdeb2cca9b u Luk Lu 2020-03-14 16:35:39 +0800
  • 0baa845a16 给 isSecword设置了easy|strict模式。 Luk Lu 2020-03-13 18:48:10 +0800
  • e96b61ed0d 在 secword2seed 和 secword2keypair 里 放松对 isSecword 的检查,因为isSecword在安卓和安卓微信里不成功! Luk Lu 2020-03-13 18:02:35 +0800
  • 7e1d2ef6e1 继续改进兼容性:浏览器目前不支持 string.padStart; HBuilderX打包app不能够 crypto 的 setPrivateKey(...) Luk Lu 2020-03-13 16:00:47 +0800
  • 0eaed0f118 u Luk Lu 2020-03-13 08:37:47 +0800
  • 42128a6c8e u Luk Lu 2020-03-12 21:05:05 +0800
  • c9dbded768 纠正isSecword,使其对所有语言的secword都能用。 Luk Lu 2020-03-12 20:52:25 +0800
  • b923fec9cc 完善 isSecword,使用 bip39.mnemonicToEntropy 来精确判断。 Luk Lu 2020-02-29 07:28:33 +0800
  • 9454bfd5a0 修复一个bug: isAddress()里比特币长度不可能为32,否则会和TIC地址冲突。 Luk Lu 2020-02-27 12:39:01 +0800