If I have someone's signature and I want to use it in a mapping, is there a way to have it serve as the key in that mapping?
Would I need to use mapping (string => uint), or mapping (bytes32 => uint), or would I first need to hash the signature?
Would you still recommend that if I were accessing (storing) to this mapping frequently?
– AlwaysQuestioning Jun 10 '18 at 13:24bytesvariable of length 64 cost about 900 gas. See this question for the prices of keccak256 and other hash functions – Jaime Jun 10 '18 at 13:34