Skip to content

Add passwordHashGenerate() and passwordHashVerify() - #1744

Merged
pfreitag merged 3 commits into
foundeo:masterfrom
HarryMuc:add-passwordhash-functions
Oct 8, 2026
Merged

pfreitag merged 3 commits into
foundeo:masterfrom
HarryMuc:add-passwordhash-functions

Conversation

@HarryMuc

@HarryMuc HarryMuc commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Documents the unified password hashing API that Adobe ColdFusion 2025 Update 8 introduced: passwordHashGenerate() and passwordHashVerify(). They support Argon2 (default, Argon2id), BCrypt and SCrypt.

Adobe documents both functions in the guide Hash and verify passwords in ColdFusion, not in the CFML function reference, so that guide is the docs link. Parameters, options and examples follow that page.

The same guide deprecates generateBCryptHash(), verifyBCryptHash(), generateSCryptHash() and verifySCryptHash(). This PR adds a deprecation note and a related link to the new functions in those four entries.

The schema allows only numeric versions, so minimum_version is 2025 and the notes say "Update 8".

@pfreitag

pfreitag commented Oct 6, 2026

Copy link
Copy Markdown
Member

@HarryMuc - thanks for this, unfortunately I'm hitting some merge conflicts (due to another PR I just merged) - let me know if you think you can resolve them.

…nctions

# Conflicts:
#	data/en/functions.json
#	data/en/generatebcrypthash.json
#	data/en/generatescrypthash.json
#	data/en/index.json
#	data/en/verifybcrypthash.json
#	data/en/verifyscrypthash.json
@HarryMuc

HarryMuc commented Oct 7, 2026

Copy link
Copy Markdown
Contributor Author

Resolved — merged current master into the branch; the conflicts were only the new boxlang/rustcfml engine lines next to my edits in the four BCrypt/SCrypt files plus the function listings. Should merge cleanly now.

@pfreitag

pfreitag commented Oct 7, 2026

Copy link
Copy Markdown
Member

conflict again -- can you update one more time? Thanks!!

…nctions

# Conflicts:
#	data/en/all.json
#	data/en/functions.json
#	data/en/index.json
@HarryMuc

HarryMuc commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

Updated — merged current master again; the conflict was just the function lists after foundeo/cfdocs#1743 went in. Should be clean now.

@pfreitag
pfreitag merged commit 640726b into foundeo:master Oct 8, 2026
2 of 4 checks passed
@pfreitag

pfreitag commented Oct 8, 2026

Copy link
Copy Markdown
Member

Thanks @HarryMuc

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