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