Download lib/plausible/auth/totp/encrypted_binary.ex from Leon4gr45/analytics: direct link, hf CLI and curl.
- Browser
- Download file 208 Bytes
-
https://huggingface.co/spaces/Leon4gr45/analytics/resolve/main/lib/plausible/auth/totp/encrypted_binary.ex
- Command line
-
hf download hf://spaces/Leon4gr45/analytics/lib/plausible/auth/totp/encrypted_binary.ex
-
curl -L -o encrypted_binary.ex https://huggingface.co/spaces/Leon4gr45/analytics/resolve/main/lib/plausible/auth/totp/encrypted_binary.ex
208 Bytes
| defmodule Plausible.Auth.TOTP.EncryptedBinary do | |
| @moduledoc """ | |
| Defines an Ecto type so Cloak.Ecto can encrypt/decrypt a binary field. | |
| """ | |
| use Cloak.Ecto.Binary, vault: Plausible.Auth.TOTP.Vault | |
| end | |