
## set_encryption_options(self, encryption_type, key_length) {#aspose.cells.EncryptionType-int}

Set Encryption Options.



```python

def set_encryption_options(self, encryption_type, key_length):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| encryption_type | aspose.cells.EncryptionType | The encryption type. |
| key_length | int | The key length. |



### See Also
* module [`aspose.cells`](../../)
* class [`Workbook`](/cells/python-net/aspose.cells/workbook)
