public OutputStream createOutputStream(OutputStream out) throws IOException {
if (cipherSession == null) {
throw new RuntimeException("Cipher session is not initialized. Call init() before!");
}
return new MultiCipherOutputStream(out, cipherSpecs, cipherSession);
}