def test_asymetric():
    bob = get_ecc(b'secret2')
    plaintext = b'Hello Bob'
    ciphertext = crypto.encrypt(plaintext, bob.raw_pubkey)
    assert (bob.decrypt(ciphertext) == plaintext)
def test_asymetric():
    bob = get_ecc(b'secret2')
    plaintext = b'Hello Bob'
    ciphertext = crypto.encrypt(plaintext, bob.raw_pubkey)
    assert (bob.decrypt(ciphertext) == plaintext)