UNPKG

@promptbook/browser

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

13 lines (12 loc) 423 B
/** * Generates random base58 string * * Note: `$` is used to indicate that this function is not a pure function - it is not deterministic * Note: This function is cryptographically secure (it uses crypto.randomBytes internally) * * @param length - length of the string * @returns secure random base58 string * * @private internal helper function */ export declare function $randomBase58(length: number): string;