fn dh_stub(original_receiver_index: NodeIndex, new_receiver_index: NodeIndex) -> SecretKey {
        let mut hash = ic_crypto_sha::Sha256::new();
        hash.write(&(original_receiver_index as NodeIndex).to_be_bytes()[..]);
        hash.write(&(new_receiver_index as NodeIndex).to_be_bytes()[..]);
        hash_to_fr(hash)
    }
/// This represents the DiffieHellman key encryption key used to encrypt key
/// shares.
///
/// Note: The original receiver is the new dealer.
This represents the DiffieHellman key encryption key used to encrypt key
shares.

The original receiver is the new dealer.
This represents the DiffieHellman key encryption key used to encrypt key shares . The original receiver is the new dealer .
fn dh_stub(original_receiver_index: NodeIndex, new_receiver_index: NodeIndex) -> SecretKey {
        let mut hash = ic_crypto_sha::Sha256::new();
        hash.write(&(original_receiver_index as NodeIndex).to_be_bytes()[..]);
        hash.write(&(new_receiver_index as NodeIndex).to_be_bytes()[..]);
        hash_to_fr(hash)
    }
fn dh_stub ( original_receiver_index : NodeIndex , new_receiver_index : NodeIndex ) -> SecretKey { let mut hash = ic_crypto_sha :: Sha256 :: new ( ) ; hash . write ( & ( original_receiver_index as NodeIndex ) . to_be_bytes ( ) [ .. ] ) ; hash . write ( & ( new_receiver_index as NodeIndex ) . to_be_bytes ( ) [ .. ] ) ; hash_to_fr ( hash ) }
This represents the DiffieHellman key encryption key used to encrypt key
shares.
This represents the DiffieHellman key encryption key used to encrypt key shares .
original_receiver_index
NodeIndex
new_receiver_index
NodeIndex
original_receiver_index
NodeIndex
new_receiver_index
NodeIndex