Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

cape_encrypt-0.1.1-py3-none-any.whl (12.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page