Exemple #1
0
def test_active_bits():
    from crypto.analysis.active_bits import search_minimum_active_bits2, bit_generator     
    import itertools
    search_minimum_active_bits2(mix_8x4, test_inputs=(lambda: itertools.chain(bit_generator(1, 0xF), bit_generator(3, 0xF))))
Exemple #2
0
def test_active_bits():
    from crypto.analysis.active_bits import search_minimum_active_bits2
    search_minimum_active_bits2(permutation)
Exemple #3
0
def test_permutation_active_bits():
    from crypto.analysis.active_bits import search_minimum_active_bits2, THOROUGH_TEST
    search_minimum_active_bits2(permutation, test_inputs=THOROUGH_TEST)
Exemple #4
0
def test_active_bits():
    from crypto.analysis.active_bits import search_minimum_active_bits2
    search_minimum_active_bits2(permutation)
Exemple #5
0
def test_permutation_active_bits():
    from crypto.analysis.active_bits import search_minimum_active_bits2, THOROUGH_TEST
    search_minimum_active_bits2(permutation, test_inputs=THOROUGH_TEST)
Exemple #6
0
def test_active_bits():
    from crypto.analysis.active_bits import search_minimum_active_bits2
    search_minimum_active_bits2(mix_slice)
Exemple #7
0
def test_active_bits():
    from crypto.analysis.active_bits import search_minimum_active_bits2
    search_minimum_active_bits2(mix_slice)