コード例 #1
0
 public Puzzle GeneratePuzzle(ref PuzzleSolution solution)
 {
     solution = solution ?? new PuzzleSolution(Utils.GenerateEncryptableInteger(this._Key));
     return(new Puzzle(this, new PuzzleValue(Encrypt(solution._Value))));
 }
コード例 #2
0
 private void EnsureInitializeBlindFactor(ref BlindFactor blindFactor)
 {
     blindFactor = blindFactor ?? new BlindFactor(Utils.GenerateEncryptableInteger(this._Key));
 }