-
Notifications
You must be signed in to change notification settings - Fork 1
/
.proto
34 lines (25 loc) · 849 Bytes
/
.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
syntax = "proto3";
package quantumtimesandwich;
// The quantum-resistant encryption service definition.
service QuantumEncryptionService {
// Encrypts a message using a quantum-resistant algorithm.
rpc EncryptMessage(EncryptionRequest) returns (EncryptionResponse);
// Decrypts a message using a quantum-resistant algorithm.
rpc DecryptMessage(DecryptionRequest) returns (DecryptionResponse);
}
// The request message containing the data to be encrypted.
message EncryptionRequest {
string message = 1;
}
// The response message containing the encrypted data.
message EncryptionResponse {
string encryptedMessage = 1;
}
// The request message for decryption.
message DecryptionRequest {
string encryptedMessage = 1;
}
// The response message containing the decrypted data.
message DecryptionResponse {
string message = 1;
}