Bytes32 to Address String

Hoping someone may be able to show me the code for going from a bytes32 back to a string address.
The first function below creates the bytes 32 from the address, but I also need to do the opposite... go from bytes32 back to the address. Thanks in advance to anyone with skills that can help.

  function hash(address _addr) external pure returns (bytes32) {
        return keccak256(abi.encodePacked(_addr));
    }

look at abi.decode here a article about it