summaryrefslogtreecommitdiffhomepage
path: root/ExpensiveHash.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-08-11 16:33:26 -0400
committerJoey Hess <joeyh@joeyh.name>2016-08-11 16:33:26 -0400
commitb2719f6e84c0c1f49ac6ab9b60846a899563961c (patch)
tree47c93357b3362e71baf0bf83a21372ae376dfba5 /ExpensiveHash.hs
parent5decbad3eb779b1bbe11245cbde84701909e9c68 (diff)
downloadkeysafe-b2719f6e84c0c1f49ac6ab9b60846a899563961c.tar.gz
inline slightly modified version of secret-sharing
Needed for efficient serialization of shares, unless upstream takes my suggestion to make the finite field be size 256.
Diffstat (limited to 'ExpensiveHash.hs')
-rw-r--r--ExpensiveHash.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/ExpensiveHash.hs b/ExpensiveHash.hs
index 48acba2..226fac7 100644
--- a/ExpensiveHash.hs
+++ b/ExpensiveHash.hs
@@ -1,5 +1,10 @@
{-# LANGUAGE OverloadedStrings #-}
+{- Copyright 2016 Joey Hess <id@joeyh.name>
+ -
+ - Licensed under the GNU AGPL version 3 or higher.
+ -}
+
module ExpensiveHash where
import Types