Skip to content
2 changes: 1 addition & 1 deletion auth/hash/hash.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (s StandardScrypt) Config() (internal.HashConfig, error) {
"dkLen": s.DerivedKeyLength,
"blockSize": s.BlockSize,
"parallelization": s.Parallelization,
"memoryCost": s.MemoryCost,
"cpuMemCost": s.MemoryCost,
}, nil
}

Expand Down
2 changes: 1 addition & 1 deletion auth/hash/hash_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ var validHashes = []struct {
"blockSize": 1,
"dkLen": 2,
"parallelization": 3,
"memoryCost": 4,
"cpuMemCost": 4,
},
},
{
Expand Down