aboutsummaryrefslogtreecommitdiff
path: root/gen.go
diff options
context:
space:
mode:
Diffstat (limited to 'gen.go')
-rw-r--r--gen.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/gen.go b/gen.go
index 918a508..1f612bf 100644
--- a/gen.go
+++ b/gen.go
@@ -34,10 +34,6 @@ func NewKey(rounds int, xorkey []byte) (PubKey, EncKey, error) {
copy(encKey.Checksum[:], checkSum[:len(encKey.Checksum)])
rand.Read(encKey.Salt[:])
- if rounds > 0 && xorkey != nil {
- encKey.XOR(xorkey)
- }
-
return pubKey, encKey, nil
}