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: authentication.rs
    path of file: ./repos/readyset/mysql-srv/src
    
    the code of the file until where you have to start completion: //! Implementation of MySQL's [Secure Password Authentication][0] authentication method.
//!
//! The way the authentication scheme works:
//!
//! 1. The server sends 20-bytes of [random data](AuthData) along with the initial handshake packet
//! 2. The client returns a 20-byte random response based on the algorithm in [`hash_password`]
//! 3. The server runs the same algo
    
    fn hash_password_works() {
        let auth_data: AuthData = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0];
        let password = b"password";
        let result = hash_password(password, &auth_data);
        assert_eq!(
            result,
            [
                98, 3, 19, 63, 63, 49, 91, 179, 27, 253, 105, 140, 3, 177, 140, 44, 225, 127, 86,
                219
            ]
        );
    }