Constants§
- AUTHENTICATION_
TAG_ SIZE_ BYTES - Size of the authentication tag in the buffer
Functions§
- create_
cipher - Create an AES-256-GCM cipher
- create_
client - Create an S3 client
- create_
thumbnail - Create thumbnail from given image
- decode_
image - Decode image from reader
- delete_
from_ s3 - Delete a file from S3 by path
- fetch_
from_ s3 - Fetch a file from S3 (and decrypt it)
- image_
size - Determine size of image at temp file
- image_
size_ vec - Determine size of image with buffer
- is_
valid_ image - Check whether given reader has a valid image
- upload_
to_ s3 - Encrypt and upload a file to S3 (returning its nonce/IV)
- video_
size - Determine size of video at temp file