7 lines
234 B
JavaScript
Raw Normal View History

2025-04-19 15:38:48 +08:00
import crypto from "crypto";
import { bufferToArray } from "@walletconnect/encoding";
export function randomBytes(length) {
const buf = crypto.randomBytes(length);
return bufferToArray(buf);
}
//# sourceMappingURL=index.js.map