Class

io.scalajs.npm.bcrypt

BCryptExtensions

Related Doc: package bcrypt

Permalink

implicit final class BCryptExtensions extends AnyVal

BCrypt Extensions

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BCryptExtensions
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BCryptExtensions(bcrypt: Bcrypt)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val bcrypt: Bcrypt

    Permalink
  6. def compareFuture(data: Any, encrypted: Hash): Promise[Boolean]

    Permalink

    Asynchronously compares the hash to the given data

    Asynchronously compares the hash to the given data

    data

    the given data to be compared

    encrypted

    the encrypted data to be compared to.

    Annotations
    @inline()
  7. def genSaltFuture(rounds: Int = 10): Promise[Salt]

    Permalink

    Asynchronously generates the salt

    Asynchronously generates the salt

    rounds

    the number of rounds to process the data for. (default - 10)

    Annotations
    @inline()
  8. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  9. def hashFuture(data: Any, salt: Salt): Promise[Hash]

    Permalink

    Asynchronously creates a hash using the given data

    Asynchronously creates a hash using the given data

    data

    the given data to be hashed

    salt

    the salt to be used to hash the password.

    Annotations
    @inline()
    Example:
    1. bcrypt.hash(data, salt, progress, cb)

  10. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  11. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped