https://github.com/RenardDev/ICECipher
ICE cipher for Python
https://github.com/RenardDev/ICECipher
encryption ice-cipher python
Last synced: 11 months ago
JSON representation
ICE cipher for Python
- Host: GitHub
- URL: https://github.com/RenardDev/ICECipher
- Owner: RenardDev
- License: mit
- Created: 2020-02-23T17:10:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-21T10:02:19.000Z (over 1 year ago)
- Last Synced: 2025-07-05T00:34:36.836Z (12 months ago)
- Topics: encryption, ice-cipher, python
- Language: Python
- Homepage:
- Size: 25.4 KB
- Stars: 7
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ICECipher
ICE cipher for Python
# Installation
```bash
pip install ICECipher
```
# Example
```python
from ICECipher import IceKey
data = b'Hello, World!'
ice = IceKey(0, [ 0x45, 0x32, 0x4E, 0x63, 0x55, 0x6B, 0x47, 0x32 ]) # 64 bit key used
encrypted_data = ice.Encrypt(data)
print(f'Encrypted = {encrypted_data}') # b'@\xff\xf3TQ>X\x04orld!'
print(f'Decrypted = {ice.Decrypt(encrypted_data)}') # b'Hello, World!'
```