refactor: deduplicate encryption helpers (#4146)

This commit is contained in:
David Luzar
2021-11-07 14:33:21 +01:00
committed by GitHub
parent f59e608f18
commit 6143d5195a
9 changed files with 84 additions and 148 deletions

View File

@ -174,3 +174,5 @@ export const ALLOWED_IMAGE_MIME_TYPES = [
export const MAX_ALLOWED_FILE_BYTES = 2 * 1024 * 1024;
export const SVG_NS = "http://www.w3.org/2000/svg";
export const ENCRYPTION_KEY_BITS = 128;