public static IStreamCrypto AesCfb(bool isEncrypt, byte[] key, byte[] iv) { return(new CFB128StreamMode(isEncrypt, AESUtils.CreateECB(key), iv)); }
public static IStreamCrypto AesCtr(byte[] key, byte[] iv) { return(new CTRStreamMode(AESUtils.CreateECB(key), iv)); }