Move get random bytes code into ByteUtils to better support the corresponding platform

XMLWordPrintableJSON

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: Unknown
    • bson-5.0.0
    • Affects Version/s: None
    • Component/s: None
    • 0
    • Not Needed
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      While working on NODE-4713 it became apparent that there was an issue with bundling and where we have the code placed that gets the best random bytes function. Since we now have distinct ByteUtils "libraries" for node and "web" platforms we can move the randomBytes functionality to there to better support each platforms functionality.

      AC

      • Move randomBytes utility into each platforms byte utils implementation

            Assignee:
            Neal Beeken
            Reporter:
            Neal Beeken
            Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: