public static IStreamCrypto AesCtr(ReadOnlySpan <byte> key, ReadOnlySpan <byte> iv) { return(BlockCryptoModeCreate.Ctr(AESUtils.CreateECB(key), iv)); }
public void Encrypt() { TestEncrypt(new GcmCryptoMode(AESUtils.CreateECB(_randomKey))); }