Created
April 15, 2017 05:49
-
-
Save eamonnmcevoy/500e9b0c83442f00c82ddc19c6a86196 to your computer and use it in GitHub Desktop.
root.Hash interface
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package root | |
type Hash interface { | |
Generate(s string) (string, error) | |
Compare(hash string, s string) error | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment