Skip to content

rAnYKM/rAnPriv

Repository files navigation

rAnPriv (Lite) ~ Privacy-Preserving Online Social Network Information Disclosure Scheme

Introduction

This is the experimental code for privacy-preserving online social network information disclosure scheme, which is my undergoing Master's project.

Dataset

The datasets used in this project are from Stanford Large Network Dataset Collection.

Currently, we support the following two datasets.

  • Google+

  • Facebook

Get Started

Installation

Note: The code is written in Python 2.7.x. Currently, it is not compatible with Python 3 (But in progress).

	$ git clone https://github.com/rAnYKM/rAnPriv.git
	$ cd rAnPriv
	$ pip install -r requirements.txt

For Windows, I strongly recommend to use the Anaconda for the best experience.

Configure the directory of the SNAP datasets.

	$ python ranfig.py -g $GOOGLE_PLUS_DIR$ -f $FACEBOOK_DIR$ -d data -o out

A Test Case

	>>> from snap_facebook import FacebookEgoNet
	>>> facebook = FacebookEgoNet('0')
	>>> facebook.ran.soc_net.number_of_nodes()
	348

Class Description

RPGraph - ran_priv.py

Usage

    >>> from ran_priv import RPGraph

About

Social Network Privacy based on SNAP Dataset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages