Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/BLAKE2/BLAKE2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Neves <sneves@dei.uc.pt>2016-06-10 13:27:27 +0300
committerSamuel Neves <sneves@dei.uc.pt>2016-06-10 13:27:27 +0300
commit9a57356891b7b2a1c0fcf0895e0155f468b5815a (patch)
tree194b2ea0cf5f447ee4bc18f8125ce334fe342652
parent6740feadeaf93e41e3d566cbec4600e955ca786f (diff)
address issue #24
-rw-r--r--csharp/Blake2Sharp/Blake2IvBuilder.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/csharp/Blake2Sharp/Blake2IvBuilder.cs b/csharp/Blake2Sharp/Blake2IvBuilder.cs
index 3435ef9..f2da9dd 100644
--- a/csharp/Blake2Sharp/Blake2IvBuilder.cs
+++ b/csharp/Blake2Sharp/Blake2IvBuilder.cs
@@ -61,7 +61,7 @@ namespace Blake2Sharp
if (config.Personalization.Length != 16)
throw new ArgumentException("config.Personalization has invalid length");
rawConfig[6] = Blake2BCore.BytesToUInt64(config.Personalization, 0);
- rawConfig[6] = Blake2BCore.BytesToUInt64(config.Personalization, 8);
+ rawConfig[7] = Blake2BCore.BytesToUInt64(config.Personalization, 8);
}
return rawConfig;