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?