Skip to content

docs: differentiate between secret and salt - #53

Open
kevinschweikert wants to merge 1 commit into
elixir-plug:mainfrom
kevinschweikert:fix/secret-salt-naming
Open

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

Conversation

@kevinschweikert

Copy link
Copy Markdown

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
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.

1 participant