public virtual void InitializeNewNeuraliumTimelineEncryptionParameters(BlockchainServiceSet serviceSet) { // create those no matter what if (this.NeuraliumTimelineFileEncryptionParameters == null) { this.NeuraliumTimelineFileEncryptionParameters = FileEncryptorUtils.GenerateEncryptionParameters(GlobalSettings.ApplicationSettings); var secretKey = new byte[333]; GlobalRandom.GetNextBytes(secretKey); this.NeuraliumTimelineFileSecret = secretKey; } }
public override void FillSafeRandom() { GlobalRandom.GetNextBytes(this.Bytes, this.Length); }