diff --git a/xcode/OLMKit/OLMPkSigning.m b/xcode/OLMKit/OLMPkSigning.m index e3f1a61..d5c7d09 100644 --- a/xcode/OLMKit/OLMPkSigning.m +++ b/xcode/OLMKit/OLMPkSigning.m @@ -72,6 +72,8 @@ return nil; } + [mutableSeed resetBytesInRange:NSMakeRange(0, mutableSeed.length)]; + NSString *publicKey = [[NSString alloc] initWithData:publicKeyData encoding:NSUTF8StringEncoding]; return publicKey; }