| title | Start using cryptexx right now! |
|---|
<Warning>
The text and the key should only be a string.
</Warning>
```python
from cryptexx import cryptlock
# Encryption
encrypted_text = cryptlock.encrypt("Hello, World!", "MyKey")
# Decryption
decrypted_text = cryptlock.decrypt(encrypted_text, "MyKey")
print(decrypted_text)
```
# Encryption
encrypted_text = cryptexx.encrypt("Hello, World!")
# Decryption
decrypted_text = cryptexx.decrypt(encrypted_text)
print(decrypted_text)
```