implememnt identity property
This commit is contained in:
@@ -12,7 +12,7 @@ import pytest
|
||||
)
|
||||
def test_darc(height, width, message_len):
|
||||
alphabet = SubstitutionKey.init_matrix(width, height, 255)
|
||||
medium = SubstitutionKey(matrix=[[0 for _ in range(width)] for _ in range(height)])
|
||||
medium = SubstitutionKey.init_identity_matrix(width, height)
|
||||
|
||||
server_keys, mutual_keys, client_keys = generate_keys(height, width)
|
||||
original_message = OuterKey.init_matrix(height).matrix[0]
|
||||
|
||||
Reference in New Issue
Block a user