Skip to content

docs: differentiate between secret and salt - #53

Merged
josevalim merged 1 commit into
elixir-plug:mainfrom
kevinschweikert:fix/secret-salt-naming
Aug 30, 2026
Merged

docs: differentiate between secret and salt#53
josevalim merged 1 commit into
elixir-plug:mainfrom
kevinschweikert:fix/secret-salt-naming

Conversation

@kevinschweikert

Copy link
Copy Markdown
Contributor

salt and secret were used interchangeably.
sign/verify/encrypt/decrypt now all take a salt as the second argument.

In decrypt/4 the secret variable was also shadowed by the result of get_secret/3, so this clears thing up significantly.

Follow up of phoenixframework/phoenix#6813

salt and secret were used interchangeably.
sign/verify/encrypt/decrypt now all take a salt as
the second argument
@kevinschweikert kevinschweikert changed the title fix: differentiate between secret and salt chore: differentiate between secret and salt Aug 28, 2026
@kevinschweikert kevinschweikert changed the title chore: differentiate between secret and salt docs: differentiate between secret and salt Aug 28, 2026
@josevalim
josevalim merged commit 09955be into elixir-plug:main Aug 30, 2026
2 checks passed
@josevalim

Copy link
Copy Markdown
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants