All Known Implementing Classes:
bob, bob_elgamal, bob_joye, bob_veugen

public interface bob_interface
Interface defining the operations for Bob in the Socialist Millionaires' Problem (SMP) protocol. This interface includes methods for secure multi-party computation using homomorphic encryption.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    division(long divisor)
    Performs division on an encrypted integer with alice.
    void
    Compares two encrypted integers for equality.
    void
    Performs multiplication on encrypted integers with alice.
    boolean
    Compares Alice's private integer with Bob's private integer.
    boolean
    Compares two encrypted integers and determines if the first is greater than or equal to the second.
    void
    Sends public keys to alice.
    void
    Sets the socket for communication.
    void
    Sorts a collection of encrypted integers.