Chat App for secure one-to-one communication. This is part of an assignment for my graduation.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
ChatApp/Message.proto

40 lines
517 B

syntax="proto3";
option java_package="de.democraticnet.de.Messenger";
option java_outer_classname="Proto";
message Message {
bytes cid = 1;
string author = 2;
bytes content = 3;
uint64 time = 4;
}
message Chat {
repeated Message messages = 1;
repeated string participants = 2;
string algorithm = 3;
bytes chat_id = 4;
}
message EncryptedChat {
repeated bytes messages = 1;
repeated bytes pariticipants = 2;
string algorithm = 3;
bytes chat_id = 4;
}