You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: crypt.rs
    path of file: ./repos/stratisd/src/engine/strat_engine/tests
    
    the code of the file until where you have to start completion: // This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file
    
fn set_up_key(desc_str: &str) -> KeyDescription {
    let key_description = KeyDescription::try_from(desc_str.to_string()).expect("no semi-colons");

    generate_random_key(&key_description);

    key_description
}