Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add phantom types to HMAC type #3

Merged
merged 1 commit into from
Nov 8, 2011
Merged

Conversation

brinchj
Copy link
Contributor

@brinchj brinchj commented Nov 7, 2011

Added two phantom types to the HMAC type to define the context and digest of the underlying hash.

@TomMD
Copy link
Member

TomMD commented Nov 8, 2011

I was conflicted about this, but since we export the MacKey constructors, people can make their own (very questionable) decision to re-cast and reuse a MacKey with more than one Hash.

TomMD added a commit that referenced this pull request Nov 8, 2011
Add phantom types to HMAC type
@TomMD TomMD merged commit 0047fe8 into haskell-github-trust:master Nov 8, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants