摘要:Security and privacy of information being shared seamlessly in a distributed environment is very important. Failure to put in place, appropriate safety measure will give room for vulnerability. In order to ensure a secured information-sharing environment therefore, Keyed-Hash Message Authentication Code and Secured Hash Algorithm 256, HMAC-SHA256 was implemented. A Trust Based system that identifies the malicious nodes in the network and differentiates them from trusted nodes was also introduced. The trust value of the participating nodes is increased only for every successful transmission and decreased for those nodes that do not send the data towards the desired destination. The HMAC-SHA256 algorithm, which provided the desired results was implemented with Java programming language, HTML and CSS.