dtool 0.8.0 发布
About dtool
dtool is a command-line tool collection to assist development.
New features
- Add EdDSA (ed25519 signature) module
- Add sr25519 signature module
Examples
Sub command | Desc | Example |
---|---|---|
ed_sign | EdDSA signUse mini secret keyv0.8.0 | $ dtool ed_sign -m 0xb850164d1feec8698acca329947c9885bd1d940\34d2fbbe6080598adbe15b298 0x616263 |
sr_sign | sr25519 signUse mini secret keyv0.8.0 | $ dtool sr_sign -m 0xc243239f434f7a4b0ab8d4600537001e6479c80\7c3d3623f99c8ad9f2a588837 0x616263 |
Installation
$ cargo install dtool
or
$ brew install guoxbin/guoxbin/dtool
(Recommand brew which provides bash/zsh/fish shell completion)
Suggestion or contribution
https://github.com/guoxbin/dtool
Full feature list
- Hex / UTF-8 string / binary / byte array conversion
- Timestamp / date conversion
- Number 10/2/8/16 base conversion
- Hex / base58 conversion
- Hex / base64 conversion
- URL encode / decode
- Number codec
- Hash (MD5, SHA-1, SHA-2, SHA-3, RIPEMD, CRC, Blake2b, SM3)
- UTF-8 string / unicode conversion
- HTML entity encode / decode
- Regex match
- Pbkdf2
- Case conversion (upper, lower, title, camel, pascal, snake, shouty snake, kebab)
- AES encrypt / decrypt
- ECDSA (Secp256k1, NIST P-256, NIST P-384, SM2)
- SM4 encrypt / decrypt
- EdDSA (Ed25519)
- sr25519 signature
1
共 0 条评论, 1 页
评论区
写评论还没有评论