Package

io.scalajs.npm

bcrypt

Permalink

package bcrypt

bcrypt package object

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

Type Members

  1. type BCryptError = Error

    Permalink
  2. implicit final class BCryptExtensions extends AnyVal

    Permalink

    BCrypt Extensions

  3. trait Bcrypt extends Object

    Permalink

    BCrypt Type Definition

    BCrypt Type Definition

    Annotations
    @RawJSType() @native()
  4. type Hash = Any

    Permalink
  5. type Salt = Any

    Permalink

Value Members

  1. object Bcrypt extends Object with Bcrypt

    Permalink

    Native JS implementation of BCrypt for Node.

    Native JS implementation of BCrypt for Node. Has the same functionality as node.bcrypt.js expect for a few tiny differences. Mainly, it doesn't let you set the seed length for creating the random byte array.

    I created this version due to a small problem I faced with node.bcrypt.js. Basically, to deploy one of my apps which uses node.bcrypt.js on a winx64 platform, I have to force the user to download about 1.6gb of sdks, buildtools and other requirements of which some fail to install ! Microsoft :(

    This code is based on javascript-bcrypt and uses [crypto] (http://nodejs.org/api/crypto.html) to create random byte arrays.

    Annotations
    @native() @JSImport( "bcrypt" , JSImport.Namespace )
    Version

    1.0.2

    See also

    https://www.npmjs.com/package/bcrypt-nodejs

Inherited from AnyRef

Inherited from Any

Ungrouped