Ejemplo n.º 1
0
 def test_different_keys_are_not_equal(self, k2):
     k1 = SigningKey(b"\x00" * crypto_sign_SEEDBYTES)
     assert_not_equal(k1, k2)
Ejemplo n.º 2
0
 def test_different_keys_are_not_equal(self, k2):
     k1 = VerifyKey(b"\x00" * crypto_sign_PUBLICKEYBYTES)
     assert_not_equal(k1, k2)
Ejemplo n.º 3
0
 def test_different_keys_are_not_equal(self, k2):
     k1 = SigningKey(b"\x00" * crypto_sign_SEEDBYTES)
     assert_not_equal(k1, k2)
Ejemplo n.º 4
0
 def test_different_keys_are_not_equal(self, k2):
     k1 = VerifyKey(b"\x00" * crypto_sign_PUBLICKEYBYTES)
     assert_not_equal(k1, k2)
Ejemplo n.º 5
0
 def test_different_keys_are_not_equal(self, k2):
     k1 = PrivateKey(b"\x00" * crypto_box_SECRETKEYBYTES)
     assert_not_equal(k1, k2)
Ejemplo n.º 6
0
 def test_different_keys_are_not_equal(self, k2):
     k1 = PublicKey(b"\x00" * crypto_box_PUBLICKEYBYTES)
     assert_not_equal(k1, k2)