awslabs / llrt

LLRT (Low Latency Runtime) is an experimental, lightweight JavaScript runtime designed to address the growing demand for fast and efficient Serverless applications.
Apache License 2.0
8.04k stars 355 forks source link

feat: implement randomInt in crypto module #306

Closed fredbonin closed 6 months ago

fredbonin commented 6 months ago

Issue #294

Description of changes

Implement randomInt with support for min and max value only so that it can be used with powertools.

Checklist

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.