{'fraction_non_alphanumeric': 0.03741935483870968, 'fraction_numerical': 0.0012903225806451613, 'mean_word_length': 5.413223140495868, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
PeerCredential: a reputation-based trust framework for Peer-to-Peer applications

In peer-to-peer (P2P) applications, peers (i.e., users) often have to request services from some unfamiliar peers (i.e., resources) that could be altruistic, selfish, or even malicious. We propose a reputation-based trust framework PeerCredential to motivate selfish peers to cooperate and minimise the risk from malicious peers. We use reputation to measure quality of resources' services and trust to quantify trustworthiness of peers. We also design a number of strategies for economic resources to maximise their profit. Simulation results show the framework motivates economic resources to provide high-quality services and effectively differentiates malicious resources from normal ones.