def _sun_jks_pkey_decrypt(data, password_str):
    password_bytes = password_str.encode('utf-16be') # Java chars are UTF-16BE code units

    data = bytearray(data)
    iv, data, check = data[:20], data[20:-20], data[-20:]
    xoring = zip(data, _jks_keystream(iv, password_bytes))
    key = bytearray([d^k for d,k in xoring])

    if hashlib.sha1(password_bytes + key).digest() != check:
        raise DecryptionFailureException("Bad hash check on private key; wrong password?")
    key = bytes(key)
    return key
Find out which of the entries in Row.id are equal for all given rows.
dataset/ETHPy150Open doublereedkurt/pyjks/jks/jks.py/_sun_jks_pkey_decrypt--crossover with--dataset/ETHPy150Open sosy-lab/benchexec/benchexec/tablegenerator/__init__.py/select_relevant_id_columns