From dbd28a52525581b59fb334f2aafa3b2b56fb6ba8 Mon Sep 17 00:00:00 2001 From: obscuren Date: Fri, 10 Jan 2014 11:18:54 +0100 Subject: [PATCH] 224 to 256 --- dagger.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dagger.go b/dagger.go index 8509232a23..2c1976840b 100644 --- a/dagger.go +++ b/dagger.go @@ -84,9 +84,9 @@ func (dag *Dagger) Node(L uint64, i uint64) *big.Int { m = big.NewInt(3) } - sha := sha3.NewKeccak224() + sha := sha3.NewKeccak256() sha.Reset() - d := sha3.NewKeccak224() + d := sha3.NewKeccak256() b := new(big.Int) ret := new(big.Int) @@ -117,12 +117,12 @@ func (dag *Dagger) Eval(N *big.Int) *big.Int { pow := BigPow(2, 26) dag.xn = N.Div(N, pow) - sha := sha3.NewKeccak224() + sha := sha3.NewKeccak256() sha.Reset() ret := new(big.Int) for k := 0; k < 4; k++ { - d := sha3.NewKeccak224() + d := sha3.NewKeccak256() b := new(big.Int) d.Reset()