基于用户兴趣隐私保护的朋友发现系统
生活中我们希望利用智能手机通过合作计算发现志趣相投的朋友,而不泄露个人兴趣信息。这种计算可以抽象化为安全多方计算 (Secure multi-party computation, SMPC),它考虑的问题为:n个互不信任的参与方共同合作计算某函数f(x1,x2,...,xn)=(y1,y2,...,yn),每个参与方Pi拥有秘密输入xi,通过合作计算得到yi但不能获知任何其他信息。SMPC对于隐私保护提供了一种天然的解决方案。
Getting started with JPBC programming
The Java Pairing-Based Cryptography Library (JPBC) provides (i) A Port of the Pairing-Based Cryptography Library (PBC), library developed by Ben Lynn, to performs the mathematical operations underlying pairing-based cryptosystems directly in Java. (ii) A Wrapper that enables the delegation of the pairing computation to the PBC library to gain in performance. (iii) An implementation of Multilinear Maps based on the paper Practical Multilinear Maps over the Integers by Coron, Lepoint, and Tibouchi. The implementation supports multithreading and uses memory mapped files to save in primary memory requirements.
Android多线程编程(Multithreading)
当我们需要执行一些耗时的操作,比如说发起网络请求,考虑到服务器未必会立刻响应我们地请求,如果不将操作放置到子线程中就会导致主线程的阻塞,使得软件无法正常运行。