-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Message label must be used in hash calculation
public string CalculateHash(IMessage message)
{
var buffer = this.payloadConverter.Value.FromObject(message.Payload);
var hash = this.sha256Managed.ComputeHash(buffer);
return BitConverter.ToString(hash);
}otherwise hashes of messages with same payload but different labels would be the same. For example, two next messages are different, but have same hash:
command.users.contacts.get
{
Id : 10
}
command.messages.incoming.get
{
Id : 10
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels