1
0
mirror of https://github.com/fluencelabs/js-libp2p-crypto synced 2025-07-15 12:21:44 +00:00
Files
js-libp2p-crypto/src/crypto.proto.js

18 lines
234 B
JavaScript
Raw Normal View History

'use strict'
module.exports = new Buffer(`
enum KeyType {
RSA = 0;
}
message PublicKey {
required KeyType Type = 1;
required bytes Data = 2;
}
message PrivateKey {
required KeyType Type = 1;
required bytes Data = 2;
}
`)