ethers.js/packages/random/lib.esm/index.js

8 lines
271 B
JavaScript
Raw Permalink Normal View History

"use strict";
import { randomBytes as _randomBytes } from "crypto";
import { arrayify } from "@ethersproject/bytes";
export { shuffled } from "./shuffle";
export function randomBytes(length) {
return arrayify(_randomBytes(length));
}
2020-07-13 08:03:56 -04:00
//# sourceMappingURL=index.js.map