Package

tsec.passwordhashers

jca

Permalink

package jca

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. jca
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait BCrypt extends AnyRef

    Permalink
  2. sealed trait HardenedSCrypt extends AnyRef

    Permalink
  3. trait JCAPasswordPlatform[A] extends PasswordHashAPI[A]

    Permalink
  4. sealed trait SCrypt extends AnyRef

    Permalink

Value Members

  1. object BCrypt extends JCAPasswordPlatform[BCrypt]

    Permalink
  2. val DefaultBcryptRounds: Int

    Permalink

    https://security.stackexchange.com/questions/17207/recommended-of-rounds-for-bcrypt Default is 10 on most applications

  3. val DefaultSCryptN: Int

    Permalink

    https://crypto.stackexchange.com/questions/35423/appropriate-scrypt-parameters-when-generating-an-scrypt-hash

  4. val DefaultSCryptP: Int

    Permalink
  5. val DefaultSCryptR: Int

    Permalink
  6. object HardenedSCrypt extends JCAPasswordPlatform[HardenedSCrypt]

    Permalink
  7. object SCrypt extends JCAPasswordPlatform[SCrypt]

    Permalink
  8. val SCryptHardenedN: Int

    Permalink

    http://www.tarsnap.com/scrypt/scrypt-slides.pdf

  9. val SCryptHardenedP: Int

    Permalink
  10. val SCryptHardenedR: Int

    Permalink
  11. object SCryptUtil extends ManagedRandom

    Permalink

    SCrypt util scala adaption for Will Glozer's (@wg on github) SCryptUtil, improving on SHA1PRNGs, bad security in particular.

    SCrypt util scala adaption for Will Glozer's (@wg on github) SCryptUtil, improving on SHA1PRNGs, bad security in particular.

    SCrypt described here: http://www.tarsnap.com/scrypt.html

    The hashed output is an extended implementation of the Modular Crypt Format that also includes the scrypt algorithm parameters.

    Format: $s0$PARAMS$SALT$KEY.

    <dl>

    PARAMS
    <dt>32-bit hex integer containing log2(N) (16 bits), r (8 bits), and p (8 bits)</dt>
    SALT
    <dt>base64-encoded salt</dt>
    KEY
    <dt>base64-encoded derived key</dt> </dl>

    s0 identifies version 0 of the scrypt format, using a 128-bit salt and 256-bit derived key.

  12. package internal

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped