Download Evaluate/projects/libp2p/rust/identity/src/generated/keys.proto from SYSUSELab/RustRepoTrans: direct link, hf CLI and curl.
- Browser
- Download file 273 Bytes
-
https://huggingface.co/datasets/SYSUSELab/RustRepoTrans/resolve/main/Evaluate/projects/libp2p/rust/identity/src/generated/keys.proto
- Command line
-
hf download hf://datasets/SYSUSELab/RustRepoTrans/Evaluate/projects/libp2p/rust/identity/src/generated/keys.proto
-
curl -L -o keys.proto https://huggingface.co/datasets/SYSUSELab/RustRepoTrans/resolve/main/Evaluate/projects/libp2p/rust/identity/src/generated/keys.proto
273 Bytes
| syntax = "proto2"; | |
| package keys_proto; | |
| enum KeyType { | |
| RSA = 0; | |
| Ed25519 = 1; | |
| Secp256k1 = 2; | |
| ECDSA = 3; | |
| } | |
| message PublicKey { | |
| required KeyType Type = 1; | |
| required bytes Data = 2; | |
| } | |
| message PrivateKey { | |
| required KeyType Type = 1; | |
| required bytes Data = 2; | |
| } | |