1
0
Fork 0
mirror of https://github.com/Luzifer/share.git synced 2024-10-18 05:14:23 +00:00

Docs: Reflect change to SHA256 hashes

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2024-03-18 20:38:05 +01:00
parent b23b7b937b
commit 9e317a83bc
Signed by: luzifer
SSH key fingerprint: SHA256:/xtE5lCgiRDQr8SLxHMS92ZBlACmATUmF1crK16Ks4E

View file

@ -29,7 +29,7 @@ You can specify where in the bucket the file should be stored and how it should
- `{{ .Ext }}` - The extension of the file (including the leading dot, i.e. `.txt`)
- `{{ .FileName }}` - The original filename without changes (i.e. `my video.mp4`)
- `{{ .Hash }}` - The SHA1 hash of the file content
- `{{ .Hash }}` - The SHA256 hash of the file content
- `{{ .SafeFileName }}` - URL-safe version of the filename (i.e. `my-video.mp4`)
- `{{ .UUID }}` - Random UUIDv4 to be used within the URL to make it hard to guess