Ejemplo n.º 1
0
 public static byte[] Encrypt(this CryptoService service, byte[] buffer, int offset, int count) => service.Encrypt(new ArraySegment <byte>(buffer, offset, count));
Ejemplo n.º 2
0
 public static byte[] Encrypt(this CryptoService service, byte[] buffer) => service.Encrypt(new ArraySegment <byte>(buffer, 0, buffer.Length));