level 2 homomorphic encryption暗号化したまま計算できる暗号技術

Cross Tabulation demoクロス集計デモ

status : initializing...初期化中...

  1. 1. supply dataデータ提供
  2. 2. encrypted aggregation秘匿集計
  3. 3. decryption復号

The cloud has no secret key, so it can read neither the individual records nor the aggregate. The analyst has the secret key but receives nothing from the cloud except the aggregated ciphertexts. クラウドは秘密鍵を持たないので個票も集計結果も読めない。アナリストは秘密鍵を持つが、クラウドからは集計後の暗号文しか受け取らない。

set dataデータをセット

public key公開鍵

age年齢 site拠点 attendance出社率 gender性別 health score健やか度

For each user, the 4 categorical attributes are one-hot encoded into 17 bits and encrypted in both G1 and G2, and the health score is also encrypted in G1 and G2: 36 ciphertexts (3456 bytes) in total. The cloud receives only data like the rightmost column; the plaintext on the left never leaves the user. 1 人あたり、4 個のカテゴリ属性を one-hot にした 17 ビットを G1 と G2 の両方で、健やか度も G1 と G2 で暗号化する。計 36 個の暗号文(3456 バイト)を送る。クラウドに渡るのは右端の列のようなデータだけで、左側の平文は渡らない。

received ciphertexts受信した暗号文

query from the analystアナリストからの指示 :

Enc(age年齢) Enc(site拠点) Enc(attendance出社率) Enc(gender性別) Enc(health score健やか度)

Each cell shows the head of the first ciphertext of the one-hot vector. The cloud cannot recover the plaintext from these. 各セルは one-hot ベクトルの先頭 1 個分の抜粋。クラウドはこれらを平文に戻せない。

aggregate on ciphertexts暗号化したまま集計

keys and the query鍵と集計の指示

secret key秘密鍵

current query現在の指示 :

receive and decrypt受信と復号