Creating key, data, and project
    • PDF

    Creating key, data, and project

    • PDF

    Article Summary

    Available in VPC

    Once you've completed requesting subscription, you can use the console to create encryption keys, upload data, and create projects.

    Homomorphic encryption keys are used for encryption and decryption of uploaded data and for computation of encrypted data. Projects are used as workspaces to perform computations using the key files and data that are prepared.

    Create and manage encryption keys

    You can create a key for encryption on the console, or create an encryption key file locally and upload it. Data can be uploaded once you have the key ready.

    Create key on the console

    The following describes how to create a new encryption key on the console.

    1. From the VPC environment of the NAVER Cloud Platform console, click the Services > Big Data & Analytics > HEaaN Homomorphic Analytics > Key menus, in that order.
    2. Click the [Create key] button.
    3. Enter the name and description for the key.
    4. Select the key's Capability by referring to the table below, and then click the [Confirm] button.
      • Encryption block size: Number of rows or columns contained in one ciphertext (Refer to Encryption method)
    CapabilityFile sizeEncryption block sizeHomomorphic encryption computation
    Machine learningMaximum number of operations
    Bootstrapping availableSecret key 15.7MB
    Encryption key 26.2MB
    Computation key 7.9GB
    Ciphertext block 13.6MB
    32,768AvailableUnlimited
    Bootstrapping unavailableSecret key 1.3MB
    Encryption key 2.1MB
    Computation key 283.1MB
    Ciphertext block 2.1MB
    8,192Unavailable7 times
    Bootstrap
    • Bootstrapping or rebooting is a technique of maintaining the source data (plaintext) by creating a new ciphertext in order to eliminate noise created from the computing process of encrypted data.
    1. From the confirmation pop-up window, click the [Confirm] button.

    Create key locally and upload

    You can use an agent to create an encryption key locally and upload to the cloud. The following OSes support agents.

    • Linux - RHEL/CentOS
    • Linux - Ubuntu
    • Mac OS

    The following describes how to create a key file locally and upload it using the agent.

    1. Refer to Using agent and create an encryption key file locally.
    2. From the VPC environment of the NAVER Cloud Platform console, click the Services > Big Data & Analytics > HEaaN Homomorphic Analytics > Key menus, in that order.
    3. Click the [Upload key] button.
    4. Enter the name of the key to upload.
      • Entering the key name will automatically complete an agent command with the key name reflected, and you can click the [Copy] button to copy the command to the clipboard.
    5. Click the [OK] button.
    6. Paste the copied command in the terminal environment to run the agent, and then enter commands according to the key creation path and capability.
      • Creating and uploading the key will be done automatically.

    View key list

    The key files created are shown in the key list on the console. You can perform management tasks in the list, such as viewing, downloading, or deleting the keys.

    To see the list of key files, click the Services > Big Data & Analytics > HEaaN Homomorphic Analytics > Key menus, in that order, from the VPC environment of the NAVER Cloud Platform console.

    View key details

    To see the details for a created key, click the row of the key you want to see from the key list.

    You can edit key description and check the log during the key creation in the key details.

    1. Click the [Edit] button in the key description, enter the new description, and then click the [Apply] button to change the key description.
    2. Click the [View log] to check the log. It makes the causal analysis of failure easier in case of key creation failure.

    Download key

    The following describes how to download key files created.

    1. Click the row belonging to the key you want to download from the key list.
    2. Click the [Download key] button above the key list.
    3. Click Download encryption key or Download decryption key, depending on the type of key you want to download.

    Delete key

    The following describes how to delete key files that you've created.

    Caution

    Deleted keys can't be restored, and you won't be able to decode or compute the data encrypted using a deleted key. Please review carefully before deleting keys.

    1. Click the row belonging to the key you want to delete from the key list. (You can delete multiple keys at once)
    2. Click the [Delete key] button above the key list.
    3. Enter the key's name in the confirmation pop-up window, and then click the [Delete] button.

    Upload and manage data

    You can use the HEaaN Homomorphic Analytics to upload data to be used for computations.

    You can encrypt the uploaded data on the cloud using the homomorphic encryption key created in advance, or complete encryption locally and upload it to the cloud. You can use the uploaded and encrypted data to create projects or tasks, as well as perform computations.

    Create folder

    Create a folder first to upload data. You can skip this stage if you upload the data to the folder created in advance.

    1. From the VPC environment of the NAVER Cloud Platform console, click the Services > Big Data & Analytics > HEaaN Homomorphic Analytics > Data menus, in that order.
    2. Click the [Create data folder] button.
    3. Enter the Folder name and click the [OK] button.

    Upload to cloud and encrypt

    Once you've created a homomorphic encryption key file, you can upload data to the cloud. Select a key file and upload data. The encryption will take place on the cloud.

    The following describes how to upload computation data to encrypt on the cloud.

    1. From the VPC environment of the NAVER Cloud Platform console, click the Services > Big Data & Analytics > HEaaN Homomorphic Analytics > Data menus, in that order.
    2. Select the folder to upload.
    3. Click the [Upload data] button.
    4. Set Encryption type to Cloud encryption.

    data_cloud-en.png

    1. Select Homomorphic encryption key.
    2. Select the data's purpose of use.
      • General purpose (arithmetic, statistic computation, etc.): Ciphertext available for column management, statistical analysis computation.
      • For machine learning: Ciphertext available for machine learning (logistic regression) computation.
      • For machine learning inference: Ciphertext available for inference of machine learning (logistic regression) computation.
    3. Upload the data files to the Upload data field. Excel files (.csv, .xlsx) can be uploaded.
    Caution

    The first row of the uploaded data should be specified with the column name. The column name is required to perform data encryption and homomorphic computation. So if some of the column names are empty, the data can't be uploaded.

    1. Enter data name and click the [Next] button.
    2. Set the Value type of each column to Real number or Category, add descriptions, and then click the [OK] button.
    3. From the confirmation pop-up window, click the [Confirm] button.

    Upload encrypted local data

    You can use an agent to directly encrypt data locally and upload to the cloud. The following OSes support agents.

    • Linux - RHEL/CentOS
    • Linux - Ubuntu
    • Mac OS

    The following describes how to encrypt data locally through the agent and upload it.

    1. Refer to Using agent to create an encryption key locally and encrypt the data.
    2. From the VPC environment of the NAVER Cloud Platform console, click the Services > Big Data & Analytics > HEaaN Homomorphic Analytics > Data menus, in that order.
    3. Click the [Upload data] button.
    4. Set Encryption type to Local encryption.

    data-local-en.png

    1. Select Homomorphic encryption key.
    2. Enter data name and click the [Next] button.
    3. Check the upload information again, and then click the [Confirm] button.
      • Copy the agent command to the clipboard, and then paste in the terminal environment. Execute the command with the key and data path specified.
    4. From the confirmation pop-up window, click the [Confirm] button.

    View data list

    The uploaded data is displayed by folder in the console's data list. You can perform tasks in the data list. You can view or delete data folders, view or delete individual data's details, or download data.

    To see the list of uploaded data, click the Services > Big Data & Analytics > HEaaN Homomorphic Analytics > Data menus, in that order, from the VPC environment of the NAVER Cloud Platform console, and then click the data folder you want to see.

    View data details

    To see each uploaded data's details, select the data folder from the data list, and then click the row of the data you want to see.

    The data's details will be displayed. You can view the header information or task history.

    View data details provide features such as Encryption key connection and View log.

    1. Click the Key name in the Encryption key to go to the key's details.
    2. Click the [View log] button to check the log. You can identify the cause in case of issues such as a ciphertext creation failure.

    View data header information

    The following describes how to view individual data's header information.

    1. Select a data folder, and then click the row of the data you want to see in the data list.
    2. Click the Manage data > Manage header information menus at the top right of the list.
      • The column description can be edited. Click the [Confirm] button after the editing is finished.

    View task history

    The following describes how to view the history of individual data, based on the project where it was used as computation data.

    1. Select a data folder, and then click the row of the data you want to see in the data list.
    2. Click the Manage data > View task history menus at the top right of the list.
    3. Click the Project name or Task name where the data is used in [View task history] to go to the details of the project or task.

    View data folder information

    To view a data folder's basic information, click hea-heause-keydataproject_dots_vpc_ko of the folder you want to see from the data folder list, and then click Data folder basic information.

    You can edit the Data folder name or check the Linked project, then go to the details of the project in the data folder information.

    Delete data folder

    The following describes how to delete data folders.

    Caution

    Deleting a data folder will delete all data within the folder. The deleted data can't be restored. Make sure to check the data within the folder before deleting.

    1. Click hea-heause-keydataproject_dots_vpc_ko of the folder you want to delete from the data folder list, and then click Delete data folder.
    2. Enter the data folder's name in the confirmation pop-up window, and then click the [Delete] button.

    Download data

    The following describes how to download data uploaded to the cloud.

    1. Select a data folder, and then click the row of the data you want to download in the data list.
    2. Click the [Download] button at the top right of the list.

    Delete data

    The following describes how to delete data uploaded to the cloud.

    Caution

    Deleted data can't be restored. Make sure to review carefully before deleting data.

    1. Select a data folder, and then click the row of the data you want to delete in the data list. (You can delete multiple data at once)
    2. Click the [Delete data] button at the top right of the list.
    3. Enter the data's name in the confirmation pop-up window, and then click the [Delete] button.

    Create and manage projects

    You need to create a project to be able to perform computations using the uploaded data. A project is a workspace where you create and perform computation tasks.

    All computational task data within a project is stored in a connected data folder.

    Create project

    The following shows how to create a project.

    1. From the VPC environment of the NAVER Cloud Platform console, click the Services > Big Data & Analytics > HEaaN Homomorphic Analytics > Projects menus, in that order.
    2. Click the [Create project] button.
    3. Enter the name and description for the project.
    4. Select a data folder to connect to the project.
      • You can also click the [Create new] button to create a new folder to connect.
    5. Click the [OK] button.

    View project list

    Created projects are displayed in the project list in the console. You can view the project's basic information and task details, or delete the project.

    To see the list of projects created, click the Services > Big Data & Analytics > HEaaN Homomorphic Analytics > Projects menus, in that order, from the VPC environment of the NAVER Cloud Platform console.

    View project details

    Click a project you want to view in the project list to view the task list within each project.

    To view each project's name, description, and data folder information, click hea-heause-keydataproject_dots_vpc_ko of the project you want to see in the project list, and then click Project basic information.

    You can edit the Project name and Project description, and change the Data folder in the View project details. Also, you can click the data folder to go to the data folder's details.
    Change data folder is available only when there is no task in the project.

    Delete project

    The following shows how to delete a project.

    Caution
    • If you delete a project, then all information for the tasks created and execution results created in the project is permanently deleted and can't be recovered. Make sure to check the task list and execution results in the project before deleting it.
    • Even if you delete a project, the computed data and result data used by the project remain in the data folder connected to the project. The Object Storage fee will continue to be incurred as long as the data is maintained. If you don't need this data, then delete it by referring to Delete data.
    1. Click hea-heause-keydataproject_dots_vpc_ko of the project to be deleted from the project list, and then click Delete project.
    2. Enter the project's name in the confirmation pop-up window, and then click the [Delete] button.

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.