I generate my Key Hash Using the Following Function
const getAddressKeyHash = (address) => {
return toHex(
Cardano.Instance.BaseAddress.from_address(
Cardano.Instance.Address.from_bech32(address)
)
.payment_cred()
.to_keyhash()
.to_bytes()
);
};
Now i need to revert this back to Bech32. Can someone help?