public static ushort[] DecryptUInt16Array( this ICipher cipher, byte[] encrypted) { if (cipher == null) { throw new ArgumentNullException(nameof(cipher)); } if (encrypted == null) { return(null); } return(FromByteArray.ToUInt16Array(cipher.Decrypt(encrypted))); }