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 |
|
Luk
|
ec367b9bbd
|
improve gitignore and seafile-ignore
|
2024-04-24 14:17:25 +08:00 |
|
Luk
|
2b4325a03f
|
updated .gitignore and seafile-ignore.txt using npm/sysconfig/*-ignore-find2merge.sh
|
2024-01-28 12:16:39 +08:00 |
|
|
81436304fa
|
update seafile-ignore.txt
|
2023-09-12 14:20:54 +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 |
|
|
90dda262da
|
'add seafile-ignore.txt to every git repo'
|
2023-01-12 20:10:13 +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 |
|
|
eed025c4e1
|
update [.gitignore] to ignore /unpackage/* except for !/unpackage/res/
|
2022-10-06 20:06:04 +08:00 |
|
|
3c9226d5f0
|
[.prettierrc.js] update jsxBracketSameLine:false to bracketSameLine:true so that HTML closing bracket not in a seperate line; [package.json] delete standardx
|
2022-10-05 13:10:03 +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 |
|
|
a077f95b23
|
reverse 'base32-encode' version to 1.2.0 because 2.0.0 must 'import' no longer support 'require'
|
2022-08-26 20:10:12 +08:00 |
|
|
4e8730e989
|
delete 'global.inDev', use 'global.envar.inDev' instead.
|
2022-08-25 15:17:31 +08:00 |
|
|
a5b0e68efc
|
use standard [.gitignore] file
|
2022-08-20 10:24:53 +08:00 |
|
|
98f055dfb3
|
upgrade npm libraries to latest major versions
|
2022-08-18 13:06:22 +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 |
|
|
a9dac7e858
|
add secp256k1 library
|
2022-08-03 16:34:57 +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 |
|
|
78c4e16868
|
rename pass2keypair to pass_to_keypair
|
2022-07-23 10:08:14 +08:00 |
|
|
f73f4beb23
|
u
|
2022-07-03 23:01:29 +08:00 |
|
|
5bfd536c03
|
u
|
2022-07-03 16:03:09 +08:00 |
|
|
dff0b62d64
|
rename all libs from xxx.yyy to xxx-yyy
|
2022-06-04 12:08:49 +08:00 |
|
|
24450a4022
|
优化
|
2022-06-04 08:17:40 +08:00 |
|
|
c2adfd5a14
|
u
|
2022-06-02 13:06:42 +08:00 |
|
|
32b36dff0a
|
u
|
2022-05-28 13:32:19 +08:00 |
|
|
74694866bc
|
添加 cid 转换函数
|
2022-05-28 09:08:55 +08:00 |
|
|
447a3eb442
|
rename b64u to b64t; rename x2y 为 x_to_; add b32 的转换函数
|
2022-05-12 08:52:48 +08:00 |
|
|
b2abb16e81
|
优化 b64u 的定义,用 . 代替 -,因为 - 和空格一样导致 css white-space 自动换行
|
2022-04-29 15:21:52 +08:00 |
|
|
fcf41dd77e
|
substring change to substr
|
2022-04-03 14:32:30 +08:00 |
|