hivemall-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Makoto Yui (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVEMALL-168) Support robust encryption/decryption UDF
Date Tue, 30 Jan 2018 05:37:02 GMT
Makoto Yui created HIVEMALL-168:
-----------------------------------

             Summary: Support robust encryption/decryption UDF
                 Key: HIVEMALL-168
                 URL: https://issues.apache.org/jira/browse/HIVEMALL-168
             Project: Hivemall
          Issue Type: Wish
            Reporter: Makoto Yui


{code:java}
Client-side:
 IN: data1, public RSA key
 OUT: key2, data2
  1. Generate Key1 at random
  2. Encrypt data1 with key1 by AES => data2
  3. Encrypt key1 with a public key of RSA => key2
  4. Send key2 and data2 over network (safe for leak)
 
Server-side:
 IN: key2, data2, private RSA key
 OUT: data1
  1. Decrypt key2 with a secret key of RSA => key1
  2. Decrypt data2 with key1 => data1{code}
 

https://github.com/wwwtyro/cryptico



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message