예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PipelinedSimpleModulusEncryptor"/> class.
 /// </summary>
 /// <param name="target">The target pipe writer.</param>
 /// <param name="encryptionKeys">The encryption keys.</param>
 public PipelinedSimpleModulusEncryptor(PipeWriter target, uint[] encryptionKeys)
     : this(target, SimpleModulusKeys.CreateEncryptionKeys(encryptionKeys))
 {
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SimpleModulusEncryptor"/> class.
 /// </summary>
 /// <param name="encryptionKey">The encryption key.</param>
 public SimpleModulusEncryptor(uint[] encryptionKey)
     : this(SimpleModulusKeys.CreateEncryptionKeys(encryptionKey))
 {
 }