Esempio n. 1
0
 public AesSerializer(byte[] key, byte[] iv, ISerializer underlyingSerializer)
 {
     this.myCryptoSerializer = new CryptoSerializerProvider(underlyingSerializer, key, iv);
 }
Esempio n. 2
0
 public AesSerializer(ISerializer underlyingSerializer, DeriveBytes passwordBasedKeyGenerator, int keyBitSize)
 {
     this.myCryptoSerializer = new CryptoSerializerProvider(underlyingSerializer, passwordBasedKeyGenerator, keyBitSize);
 }