drupflare/worker - v1.0.0
    Preparing search index...

    Function randomKeyBase64

    • Mints a secret in Drupal's own encoding.

      crypto.getRandomValues rather than Math.random(): this is the value that signs password-reset links, so a predictable one is the same defect as a shared one.

      Parameters

      • bytes: number = SALT_BYTES

      Returns string