Skip to content

Instantly share code, notes, and snippets.

@elenadimitrova
Created November 9, 2016 22:16
Show Gist options
  • Save elenadimitrova/6f63d02a6e9f3c4c4cf58e1f60904136 to your computer and use it in GitHub Desktop.
Save elenadimitrova/6f63d02a6e9f3c4c4cf58e1f60904136 to your computer and use it in GitHub Desktop.
function generateVoteSecret(bytes32 salt, uint256 optionId)
returns (bytes32)
{
return keccak256(salt, optionId);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment