Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Type for different hashing algorithms #24

Open
kourosh-alasti opened this issue Dec 30, 2024 · 0 comments
Open

Create Type for different hashing algorithms #24

kourosh-alasti opened this issue Dec 30, 2024 · 0 comments

Comments

@kourosh-alasti
Copy link
Owner

Is your feature request related to a problem? Please describe.
No problem, current password generation defaults to sha256 but allows for other hashing algorithms, creating a type will allow better intellisense improving DX

Describe the solution you'd like
Create type HashAlgorithm or somethjing of the sort which is a union of strings for the different hashing algorithms provided by node:crypto

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

No branches or pull requests

1 participant