# Cryptography competition — Data

来源：https://www.kaggle.com/competitions/cryptography/data

本地 Meta Kaggle 快照；不是本次实时页面。

# Dataset Description

The task is simply to learn the function y=f(x). Input values x are in a CSV file **hash_train_input.csv** and output values y are in a **hash_train_output.csv**. There is an Id column to match x and y values in separate files although the rows are in order so you can just use x and y that are on the same row of the files.

For submission, you use file **test.csv** as x values and predict hash values y to a submission CSV file. An example of a submission file is in **sample_submission.csv**. The submission file must have a header row and the columns Id, Bit1, Bit2, Bit3, Bit4, Bit5, Bit6, Bit7, Bit8, Bit9, and Bit10.

## Files

*   **hash_train_input.csv** - the train input (x) dataset (ASCII strings)
*   **hash_train_output.csv** - the train output (y) dataset (SHA-256 hash values)
*   **test.csv** - the test input (x) dataset (inputs for submission)
*   **sample_submission.csv** - a sample submission file in the correct format (y values, predicted SHA-256 hash values)

## Columns

*   `Id` - Id number field of the vector
*   `Char%d` - %d:th character column of the input x (10 letter ASCII string)  
*   `Bit%d` - %d:th bit column of the output y (SHA-256 hash first 10 bits)