George Pollard
e9c9c770d3
Update HMAC.hs
2021-06-03 08:34:34 +12:00
George Pollard
9961606e5b
Merge branch 'master' into hmac-lazy
2021-06-03 08:33:55 +12:00
Crockett
0fb8a73d3b
Fixed compiler warnings
2019-02-03 16:06:05 -08:00
Olivier Chéron
9d961e92e9
Comment about not having Show instance for HMAC
...
Closes #232 .
2018-04-22 19:44:29 +02:00
George Pollard
f55636bd43
Add hmacLazy for lazy ByteStrings
...
Modeled off `hashLazy`.
2018-03-06 18:05:02 +13:00
Chris Martin
f77994a729
Various documentation copy editing
2017-11-18 14:27:44 -05:00
Vincent Hanquez
43890b1175
Add support for HKDF (RFC 5869)
2015-12-28 14:32:07 +00:00
Vincent Hanquez
9794e2132b
[hash] replace scrub by reset
...
reset make more sense as it leave the mutable context in a state where
it can be re-used by further update, whereas scrub doesn't.
2015-05-19 11:50:56 +01:00
Vincent Hanquez
9ae9e38ce2
move to memory stuff
2015-05-09 14:23:32 +01:00
Vincent Hanquez
cd42b2765b
[HMAC] use SecureBytes instead of ByteString for between context
2015-05-03 14:51:13 +01:00
Vincent Hanquez
db7c3bbb4f
[hash] massive overhaul of the hash interface
...
use the typeclass for the lowest IO impure C bindings definitions,
and define the pure interface as generic on top of this.
At the same time define an Hash.IO interface to allow mutable manipulations
of hash contextes when necessary.
Use HashAlgorithm instead of HashFunction in the [PubKey] sections
Tweak the HMAC, PBKDF2 functions to be more efficient and use the new interface
2015-04-30 06:18:07 +01:00
Vincent Hanquez
bd1c010df9
just like poly1305, add a way to mac multiple inputs
2014-11-09 09:59:35 +00:00
Vincent Hanquez
5e23ef92a5
add HMAC
2014-07-09 13:15:49 +01:00