Well, I am studying smart contracts and NFT lately. And very much moved by the tech that has been developed. I have shared some other starting lessons that I took lately, you can refer to my other blogs as well here. Yesterday I read about fingerprints in smart contract ERC721.
For building a fingerprint of any token it actually uses another contract which is ERC 165, Now ERC 165 has a function that checks if the function fingerprint is supported or not. If you are very new you won’t understand a lot in this part. I am also still studying. Will keep posting as I will move forward.
ERC 165 actually uses a cryptographic function Keccak. This function generates a fingerprint for all the functions that are defined, and after that, we can register the fingerprint in our code. After that, we can match the fingerprint before we proceed with any token task. Keccak function is one direction function. So when you convert the function into any fingerprint there is no going back.
So you can learn more about Keccak here. If you want. Learn more about cryptographic functions.