// SPDX-License-Identifier: MITpragmasolidity^0.8.0;/** * @title Secret And Ephemeral * @author Blue Alder (https://duc.tf) **/contractSecretAndEphemeral{addressprivateowner;int256publicseconds_in_a_year=60*60*24*365;stringword_describing_ductf="epic";stringprivatenot_yours;mapping(address=>uint)publiccool_wallet_addresses;bytes32publicspooky_hash;constructor(stringmemory_not_yours,uint256_secret_number){not_yours=_not_yours;spooky_hash=keccak256(abi.encodePacked(not_yours,_secret_number,msg.sender));}functiongiveTheFunds()payablepublic{require(msg.value>0.1ether);// Thank you for your donationcool_wallet_addresses[msg.sender]+=msg.value;}functionretrieveTheFunds(stringmemorysecret,uint256secret_number,address_owner_address)public{bytes32userHash=keccak256(abi.encodePacked(secret,secret_number,_owner_address));require(userHash==spooky_hash,"Somethings wrong :(");// User authenticated, sending fundsuint256balance=address(this).balance;payable(msg.sender).transfer(balance);}}