Encryption aid for functions running in Cape Enclaves
Project description
Cape Encrypt
Ease of use utility to allow functions deployed with Cape to leverage enclave only encryption and decryption. These operations are completed using your account level Cape Key.
Installation
pip install cape_encrypt
Usage
def cape_handler(data):
plaintext = b"encrypt me"
ciphertext = encrypt(plaintext)
print(str(ciphertext))
# cape:aaMrznPDy8ZrZT7CkRwpzTS9+rG+A4FuFPCfjLTrMa/2TyVvYdEx6PtYHnGizZKOZCytQUuo65OZkw5kQCJpNBuZzmd4lPB9lu0sSGLExPSivzMLKOH07rwrlBFFEEgZCvRoKBDebxVfq/Uv2v++Q4xmn4wksBjpPHjlLtGzpPu9mwMofs5eZLTVqp4g6yCuwaNbPkyhq09iRHiLOvWKhWfkf+0++/W2UDr81PLTdNBKI+kdHoTp/Xr8Uh9ooovwAx3V/LX9ESAHFWeW6BHV6JVcIP/tH1aFjuVVfH610I4eNZdaVyWV9DVdmsUF2o7g2tUmR+Eg++ts7MXxbWRz2PDZC8MDz52w6ZiUVluiluVPRh/VB+TmCJwSIfDQ3fiXAobhU/flA8jmzdE1pC3SdSY30vkqxwLBZ5VwGM4J7p2UsDuKzxZXVJ0Tg6ludB8y0NyZswYXZcewUuc0XZ2sOWCTqSP9t/0b/atGuwUxE5qkwEglP6s5AyVET8AZRH4KPoQuxjFUf7h+NJzZMDd/2Zef+yCGAP/8vKjpglDdItmsX3Bintu+Sp/ij6ynbFARpL9N7YZ8yA2Lpx/59Y/EnCuOdAJOpKcif3bnHNhKsGIATlO/lyY5bXRzGUpbejh+UAQC5qAsLmWQa/HZoF2ptGaGVhLpUs8zIdeLWFZ/YIhUXE1koI/BMMAT05kmaPPDvAELOkWJxpC4VYJWmzPZ29Opv7ye
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cape_encrypt-0.1.1.tar.gz
(13.7 kB
view details)
Built Distribution
File details
Details for the file cape_encrypt-0.1.1.tar.gz
.
File metadata
- Download URL: cape_encrypt-0.1.1.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 103a87d13ca8964bf7a5e8ffa34e70938a4e4801d9f55b7591136d51730bb6eb |
|
MD5 | fdcf7996a27764cc6cec20c2ed8f4b39 |
|
BLAKE2b-256 | 0c4fdf0fdf85db9b1aa297f8e09cac2abb97d99628b67e378330883a6580a225 |
File details
Details for the file cape_encrypt-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: cape_encrypt-0.1.1-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 989395e4087b9eac1b1ea08fd454ca4997a0b8be692d8f40ec1d71527918d476 |
|
MD5 | ce1e69921bde9f8a7e83d9b846d9c429 |
|
BLAKE2b-256 | 1edf8e336ed87c8650f84faa202f3f108ba8d41ea74b32fa145856ab8cf41d0c |