Packages

c

io.scalajs.npm.bcrypt

BCryptExtensions

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)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val bcrypt: Bcrypt
  6. def compareFuture(data: Any, encrypted: Hash): Future[Boolean]

    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): Future[Salt]

    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]
    Definition Classes
    AnyVal → Any
  9. def hashFuture(data: Any, salt: Salt): Future[Hash]

    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
    Definition Classes
    Any
  11. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped