Luk
|
decdcab1e5
|
crypto.randomUUID().replace(/-/g,'').substring(0,12)
|
2024-10-14 15:23:50 +08:00 |
|
Luk
|
ced82b18d7
|
用 secword.trim() 取代 secword.replace(/^\s+/, '').replace(/\s+$/, '')
|
2024-10-10 13:04:17 +08:00 |
|
Luk
|
acabbfa787
|
用原生 BigInt 实现了 modPow 从而重新实现了 decompress_pubkey; 调整 prikey_to_pubkey({compress}) 为 prikey_to_pubkey({uncompress})
|
2024-10-05 18:04:24 +08:00 |
|
Luk
|
40197b2905
|
发现 BigInt=require('big-integer') 可能导致和原生 BigInt 的命名冲突,改为 bigint,同时把可以用原生 BigInt 的都用 BigInt。发现 /^[b|B]/ 这种写法会识别 |,改为 /^[bB]/
|
2024-10-05 15:47:17 +08:00 |
|
Luk
|
43b9bd6898
|
ignore *nogit* and *nosf*; 似乎 hash_to_sig_distance 用的还是之前的 BigNumber,现在是失效的,重新改写。
|
2024-09-22 15:50:33 +08:00 |
|
|
8836721791
|
hex_to_eip55 returns 0x... if the paramhex is 0x...
|
2023-08-03 17:35:28 +08:00 |
|
|
16e45503be
|
u
|
2023-04-14 09:12:41 +08:00 |
|
|
b34b3b4cd5
|
customize_account
|
2023-03-10 22:05:09 +08:00 |
|
|
e304a5004a
|
如果不提供pathIndex,默认为0
|
2023-01-10 13:11:45 +08:00 |
|
|
c5b0d40150
|
fix: pathIndex 为0时不该被忽略
|
2023-01-03 18:34:41 +08:00 |
|
|
c0e237984a
|
让 secword_to_keypair 的默认结果和 ethers.Wallet.fromMnemonic保持一致
|
2023-01-01 17:08:57 +08:00 |
|
|
cdeb44f43f
|
update to standard .gitignore
|
2022-12-10 19:12:14 +08:00 |
|
|
ab105032ad
|
rename ethrsa to ecrsa
|
2022-11-12 08:42:06 +08:00 |
|
|
ec359d0d98
|
add: 通过 ethereum-rsa 实现了椭圆曲线公私钥加解密!fix: is_secword
|
2022-11-11 16:17:18 +08:00 |
|
|
c9b147aeaf
|
增加 coinFamily 参数
|
2022-10-28 12:09:31 +08:00 |
|
|
93eb774457
|
rename pathRoot to pathSeed
|
2022-09-17 15:10:16 +08:00 |
|
|
dc834c8157
|
rename 'boot:windows' to 'boot:win'; install 'run-script-os' with '--save-dev'.
|
2022-09-13 11:49:13 +08:00 |
|
|
4e8730e989
|
delete 'global.inDev', use 'global.envar.inDev' instead.
|
2022-08-25 15:17:31 +08:00 |
|
|
a43a43ed16
|
u
|
2022-08-17 12:22:44 +08:00 |
|
|
d54cc58c80
|
u
|
2022-08-16 12:50:24 +08:00 |
|
|
71eb5d5dce
|
Merge branch 'main' of https://git.faronear.org/npm/tic-crypto
|
2022-08-16 11:59:32 +08:00 |
|
|
1893a0ae9d
|
<secword_to_keypair> should check secword because secword_to_seed accepts even empty secword
|
2022-08-16 11:59:28 +08:00 |
|
|
e7f538b472
|
rename seckey to prikey
|
2022-08-14 15:51:19 +08:00 |
|
|
7a8ea70608
|
u
|
2022-08-14 14:50:23 +08:00 |
|
|
741eb70245
|
u
|
2022-08-12 12:03:02 +08:00 |
|
|
34cf26e168
|
把大多数ticc方法的参数类型统一为 { ... } 对象
|
2022-08-03 16:30:09 +08:00 |
|
|
0cb2547d17
|
rename this.hash to this.hash_easy
|
2022-08-03 14:53:31 +08:00 |
|
|
cc01e71f48
|
rename ticc.sign/verify/encrypt/decrypt/hash to ticc.xxx_easy
|
2022-07-23 16:03:21 +08:00 |
|
|
1d79a3b560
|
updated
|
2022-07-23 12:40:04 +08:00 |
|