Closed ChaosVan closed 8 months ago
public DefaultEncryptor(byte[] key, byte[] iv) { if (iv == null) this.iv = DEFAULT_IV; if (key == null) this.key = DEFAULT_KEY; CheckIV(this.iv); CheckKey(this.key); // ... }
应改为
public DefaultEncryptor(byte[] key, byte[] iv) { if (iv == null) this.iv = DEFAULT_IV; else this.iv = iv; if (key == null) this.key = DEFAULT_KEY; else this.key = key; CheckIV(this.iv); CheckKey(this.key); // ... }
好的,谢谢,下次发版本我改一下!
应改为