Skip to main content
Full-width parenthises -> half-width.
Source Link
DannyNiu
  • 9.8k
  • 2
  • 25
  • 62

Alice:has $x=(x_1,x_2,...x_m)$$x=(x_1,x_2,...x_m)$

Bob: has $(y_1,m_1),...,(y_n,m_n)$

For this, Alice wants to get some message from Bob, but does not want bob to know which one she gets

  • Bob generate random $a \in Z_q$$cid_i=H(y_i^b),c_i=AES_{enc}(y_i^b, m_i),\forall i \in n$
  • Bob send all $(cid_i,c_i)$ to alice
  • Alice generate random $b \in Z_q$,compute $choose_j=x_j^b$
  • Alice send $choose_j$ to Bob
  • Bob compute $choose_j^a=x_j^{ab}$,send to alice
  • Alice get $x_j^{a}$ and $cid_j=H(x_j^a)$, if $x_j=y_i, cid_j=cid_i$, Alice can decrypt $m_i=AES_{dec}(c_j,x_j^a)$

Is this approach secure, or do I need to introduce additional constraints?

Moreover, can I incorporate the OPRF portion from RA2018 or KKRT, in which Bob shares the appropriate key with Alice in this manner, while Alice only obtains the information she can query for? For example, if Alice queries for x1 and x2, she won't receive anything beyond m1 and m2

Alice:has $x=(x_1,x_2,...x_m)$

Bob: has $(y_1,m_1),...,(y_n,m_n)$

For this, Alice wants to get some message from Bob, but does not want bob to know which one she gets

  • Bob generate random $a \in Z_q$$cid_i=H(y_i^b),c_i=AES_{enc}(y_i^b, m_i),\forall i \in n$
  • Bob send all $(cid_i,c_i)$ to alice
  • Alice generate random $b \in Z_q$,compute $choose_j=x_j^b$
  • Alice send $choose_j$ to Bob
  • Bob compute $choose_j^a=x_j^{ab}$,send to alice
  • Alice get $x_j^{a}$ and $cid_j=H(x_j^a)$, if $x_j=y_i, cid_j=cid_i$, Alice can decrypt $m_i=AES_{dec}(c_j,x_j^a)$

Is this approach secure, or do I need to introduce additional constraints?

Moreover, can I incorporate the OPRF portion from RA2018 or KKRT, in which Bob shares the appropriate key with Alice in this manner, while Alice only obtains the information she can query for? For example, if Alice queries for x1 and x2, she won't receive anything beyond m1 and m2

Alice:has $x=(x_1,x_2,...x_m)$

Bob: has $(y_1,m_1),...,(y_n,m_n)$

For this, Alice wants to get some message from Bob, but does not want bob to know which one she gets

  • Bob generate random $a \in Z_q$$cid_i=H(y_i^b),c_i=AES_{enc}(y_i^b, m_i),\forall i \in n$
  • Bob send all $(cid_i,c_i)$ to alice
  • Alice generate random $b \in Z_q$,compute $choose_j=x_j^b$
  • Alice send $choose_j$ to Bob
  • Bob compute $choose_j^a=x_j^{ab}$,send to alice
  • Alice get $x_j^{a}$ and $cid_j=H(x_j^a)$, if $x_j=y_i, cid_j=cid_i$, Alice can decrypt $m_i=AES_{dec}(c_j,x_j^a)$

Is this approach secure, or do I need to introduce additional constraints?

Moreover, can I incorporate the OPRF portion from RA2018 or KKRT, in which Bob shares the appropriate key with Alice in this manner, while Alice only obtains the information she can query for? For example, if Alice queries for x1 and x2, she won't receive anything beyond m1 and m2

deleted 283 characters in body
Source Link

Could ECDH-OPRF-PSI support oblivious transfer?private information retrieval?

It is possible to utilize the OPRF-PSI algorithmAlice:has $x=(x_1,x_2,...x_m)$

Bob: has $(y_1,m_1),...,(y_n,m_n)$

For this, Alice wants to implement a K-V-PIR protocolget some message from Bob, as follows:but does not want bob to know which one she gets

  • Alice wishes to inquire about the values corresponding toBob generate random $(x_i, x_j)$, while$a \in Z_q$$cid_i=H(y_i^b),c_i=AES_{enc}(y_i^b, m_i),\forall i \in n$
  • Bob possesses data in the form of $(x_1, y_1), (x_2, y_2), ..., (x_n, y_n)$.send all $(cid_i,c_i)$ to alice

Both parties would engage in the OPRF-PSI protocol, such as ECDH. In this process:

  • Alice generate random $b \in Z_q$,compute $choose_j=x_j^b$
  • Bob employs his personalAlice send $key_b$$choose_j$ to encrypt the $y_i$ data and subsequently transmitsBob
  • Bob compute $(c_y1, ..., c_yn)$$choose_j^a=x_j^{ab}$,send to Alice.alice
  • Alice, in turn get $x_j^{a}$ and $cid_j=H(x_j^a)$, uses her OPRFif $key_a$ to$x_j=y_i, cid_j=cid_i$, Alice can decrypt the data.$m_i=AES_{dec}(c_j,x_j^a)$

For instanceIs this approach secure, Alice forwards $H(x_i)^a$or do I need to Bobintroduce additional constraints?

Moreover, who computes $H(x_i)^{ab}$ and returns it tocan I incorporate the OPRF portion from RA2018 or KKRT, in which Bob shares the appropriate key with Alice. Subsequently in this manner, while Alice only obtains $H(x_i)^b$, which serves as the keyinformation she can query for $c_{yi}$.

It is also possible to enhance this specific implementation by incorporating additional MAC mechanisms? For example, if Alice queries for data verification.

enter image description herex1 and x2, she won't receive anything beyond m1 and m2

Could ECDH-OPRF-PSI support oblivious transfer?

It is possible to utilize the OPRF-PSI algorithm to implement a K-V-PIR protocol, as follows:

  • Alice wishes to inquire about the values corresponding to $(x_i, x_j)$, while
  • Bob possesses data in the form of $(x_1, y_1), (x_2, y_2), ..., (x_n, y_n)$.

Both parties would engage in the OPRF-PSI protocol, such as ECDH. In this process:

  • Bob employs his personal $key_b$ to encrypt the $y_i$ data and subsequently transmits $(c_y1, ..., c_yn)$ to Alice.
  • Alice, in turn, uses her OPRF $key_a$ to decrypt the data.

For instance, Alice forwards $H(x_i)^a$ to Bob, who computes $H(x_i)^{ab}$ and returns it to Alice. Subsequently, Alice obtains $H(x_i)^b$, which serves as the key for $c_{yi}$.

It is also possible to enhance this specific implementation by incorporating additional MAC mechanisms for data verification.

enter image description here

Could ECDH-OPRF-PSI support private information retrieval?

Alice:has $x=(x_1,x_2,...x_m)$

Bob: has $(y_1,m_1),...,(y_n,m_n)$

For this, Alice wants to get some message from Bob, but does not want bob to know which one she gets

  • Bob generate random $a \in Z_q$$cid_i=H(y_i^b),c_i=AES_{enc}(y_i^b, m_i),\forall i \in n$
  • Bob send all $(cid_i,c_i)$ to alice
  • Alice generate random $b \in Z_q$,compute $choose_j=x_j^b$
  • Alice send $choose_j$ to Bob
  • Bob compute $choose_j^a=x_j^{ab}$,send to alice
  • Alice get $x_j^{a}$ and $cid_j=H(x_j^a)$, if $x_j=y_i, cid_j=cid_i$, Alice can decrypt $m_i=AES_{dec}(c_j,x_j^a)$

Is this approach secure, or do I need to introduce additional constraints?

Moreover, can I incorporate the OPRF portion from RA2018 or KKRT, in which Bob shares the appropriate key with Alice in this manner, while Alice only obtains the information she can query for? For example, if Alice queries for x1 and x2, she won't receive anything beyond m1 and m2

Formatting, MathJax.
Source Link
DannyNiu
  • 9.8k
  • 2
  • 25
  • 62

It is possible to utilize the OPRF-PSI algorithm to implement a K-V-PIR protocol, as follows: Alice wishes to inquire about the values corresponding to (xi, xj), while Bob possesses data in the form of (x1, y1), (x2, y2), ..., (xn, yn).

  • Alice wishes to inquire about the values corresponding to $(x_i, x_j)$, while
  • Bob possesses data in the form of $(x_1, y_1), (x_2, y_2), ..., (x_n, y_n)$.

Both parties would engage in the OPRF-PSI protocol, such as ECDH. In this process, Bob employs his personal key_b to encrypt the y_i data and subsequently transmits (c_y1, ..., c_yn) to Alice. Alice, in turn, uses her OPRF key_a to decrypt the data.:

  • Bob employs his personal $key_b$ to encrypt the $y_i$ data and subsequently transmits $(c_y1, ..., c_yn)$ to Alice.
  • Alice, in turn, uses her OPRF $key_a$ to decrypt the data.

For instance, Alice forwards H(xi)^a$H(x_i)^a$ to Bob, who computes H(xi)^ab$H(x_i)^{ab}$ and returns it to Alice. Subsequently, Alice obtains H(xi)^b$H(x_i)^b$, which serves as the key for c_yi$c_{yi}$. 

It is also possible to enhance this specific implementation by incorporating additional MAC mechanisms for data verification.   

enter image description here

It is possible to utilize the OPRF-PSI algorithm to implement a K-V-PIR protocol, as follows: Alice wishes to inquire about the values corresponding to (xi, xj), while Bob possesses data in the form of (x1, y1), (x2, y2), ..., (xn, yn). Both parties would engage in the OPRF-PSI protocol, such as ECDH. In this process, Bob employs his personal key_b to encrypt the y_i data and subsequently transmits (c_y1, ..., c_yn) to Alice. Alice, in turn, uses her OPRF key_a to decrypt the data. For instance, Alice forwards H(xi)^a to Bob, who computes H(xi)^ab and returns it to Alice. Subsequently, Alice obtains H(xi)^b, which serves as the key for c_yi. It is also possible to enhance this specific implementation by incorporating additional MAC mechanisms for data verification.  enter image description here

It is possible to utilize the OPRF-PSI algorithm to implement a K-V-PIR protocol, as follows:

  • Alice wishes to inquire about the values corresponding to $(x_i, x_j)$, while
  • Bob possesses data in the form of $(x_1, y_1), (x_2, y_2), ..., (x_n, y_n)$.

Both parties would engage in the OPRF-PSI protocol, such as ECDH. In this process:

  • Bob employs his personal $key_b$ to encrypt the $y_i$ data and subsequently transmits $(c_y1, ..., c_yn)$ to Alice.
  • Alice, in turn, uses her OPRF $key_a$ to decrypt the data.

For instance, Alice forwards $H(x_i)^a$ to Bob, who computes $H(x_i)^{ab}$ and returns it to Alice. Subsequently, Alice obtains $H(x_i)^b$, which serves as the key for $c_{yi}$. 

It is also possible to enhance this specific implementation by incorporating additional MAC mechanisms for data verification. 

enter image description here

added 89 characters in body
Source Link
Loading
Source Link
Loading