context.random.nextBytes(forceCryptoKey);
}
this.forceCryptoKey = forceCryptoKey;
CompatibilityMode mode = ctx.getCompatibilityMode();
if(!(mode == CompatibilityMode.COMPAT_CURRENT || mode.ordinal() >= CompatibilityMode.COMPAT_1416.ordinal()))
this.cryptoAlgorithm = Key.ALGO_AES_PCFB_256_SHA256;
else
this.cryptoAlgorithm = Key.ALGO_AES_CTR_256_SHA256;
runningPutHandlers = new HashSet<PutHandler>();
putHandlersWaitingForMetadata = new HashSet<PutHandler>();