Skip to content

Docs/password hasher cost examples - #197

Merged
WingZer0o merged 4 commits into
mainfrom
docs/password-hasher-cost-examples
Nov 1, 2026
Merged

WingZer0o merged 4 commits into
mainfrom
docs/password-hasher-cost-examples

Conversation

@WingZer0o

Copy link
Copy Markdown
Member

No description provided.

WingZer0o and others added 4 commits October 31, 2026 21:39
- Add HashPasswordWithParameters examples for Argon2, SCrypt and BCrypt
  with a description of each cost parameter
- Remove benchmark note and comparison tables
- Fix Ed25519 example for GetKeyPair, replace AES/RSA hybrid with HPKE
- Add CasException error handling example

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- CLAUDE.md: describe csbindgen/NativeMethods architecture and helpers,
  add "Keeping examples in sync" rule for public API changes
- READMEs: mention configurable password hashing cost; use absolute
  Examples link in the NuGet readme
- XML docs for HashPasswordWithParameters cost parameters

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Add examples for AES-128, X25519-derived AES keys, Ascon, RSA,
  Ed25519 VerifyBytes, SLH-DSA, X25519, SHA/Blake2/HMAC verify,
  hasher factories, Argon2 key derivation and ZSTD
- Fix Argon2 memoryCost unit: MiB (cas-lib multiplies by 1024), not KiB
- CLAUDE.md: require examples for every public method, add a coverage
  check command, note SHA vs Blake2 Verify argument order, drop stale
  OperatingSystemDeterminator reference

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@WingZer0o
WingZer0o merged commit 99c1471 into main Nov 1, 2026
15 checks passed
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