• Creates a short hash using PBKDF2

    Parameters

    • text: string

      Text to hash

    • Optionalsalt: string

      Salt for hashing

    Returns Promise<any>

    Promise resolving to hex-encoded hash