def METHOD_NAME():
    lib = Crypto()
    assert lib._key is None
    key = lib.generate_key()
    assert lib._key is None
    lib.use_encryption_key(key)
    assert lib._key is not None
    with pytest.raises(ValueError):
        lib.use_encryption_key("somethingelse")