Commit Graph

12 Commits

Author SHA1 Message Date
Brian Picciano
4536db8968 merr: refactor Wrap/WrapSkip/New to take multiple contexts rather than annotations 2019-02-27 13:05:51 -05:00
Brian Picciano
e1e52db208 refactor everything to use context's annotation system, making some significant changes to annotations themselves along the way 2019-02-24 15:36:07 -05:00
Brian Picciano
0e80e1fd3d mlog: remove ErrKV/ErrWithKV, merr.KV/merr.WithValue are used instead 2019-01-15 00:00:24 -05:00
Brian Picciano
1562c4e8f6 mlog: redefine KVer to return a map[string]interface, not a KV, to allow other packages to implement KVer without importing mlog 2019-01-14 23:58:55 -05:00
Brian Picciano
362207b002 mcrypto: fix docs a bit 2018-08-09 18:04:39 -06:00
Brian Picciano
1be0072701 mtest->mrand: move rand functionality from mtest into its own package 2018-07-03 00:20:00 +00:00
Brian Picciano
b30ccf4db8 mcrypto: move SignVerifier code into Secret, to account for encrypting later on 2018-03-26 10:53:49 +00:00
Brian Picciano
d4c665c4d5 mcrypto: change UUID implementation to keep inner data as []byte instead of string 2018-03-23 15:56:27 +00:00
Brian Picciano
02a4cf7c30 implement mcrypto.Public/PrivateKey types and have them implement Signer/Verifier 2018-03-23 15:46:14 +00:00
Brian Picciano
9b6c42572c refactor mcrypto signature code to have an actual Signature type which implicitely handles its salt and timestamp 2018-03-23 15:15:55 +00:00
Brian Picciano
50db101620 implement mcrypto.Signer 2018-03-12 12:29:51 +00:00
Brian Picciano
a2b6f56876 implement mcrypto.UUID 2018-03-11 18:25:04 +00:00