import { random } from "./Randomizer.js" ; constructor export class SecureRandom { param array nextBytes ( array ) { let bytes = random . generateRandomData ( array . length ) ; for ( var i = 0 ; i < array . length ; i ++ ) { array [ i ] = bytes [ i ] ; } } }