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

New Feature Request: Get HEX randomly by length and letter type. #60

Open
J9B10 opened this issue Nov 29, 2023 · 0 comments
Open

New Feature Request: Get HEX randomly by length and letter type. #60

J9B10 opened this issue Nov 29, 2023 · 0 comments

Comments

@J9B10
Copy link

J9B10 commented Nov 29, 2023

Hello.

I'm new to programming.

I really like this random app.

I need to generate a HEX (Hexadecimal) string of specific length.

But I see I didn't find this function random.hex(length, options) in random.

It would be great to be able to generate HEX values ​​of custom length and letter type.

For example:

let get40 = random.hex(40, both); // options: capital, lowercase, both.

console.log(get40); // 0397032E0f12958AC8EC58728018e299e883254b

Thank you for your attention.

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