All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tsec.passwordhashers.jca.package.scala Maven / Gradle / Ivy

The newest version!
package tsec.passwordhashers

package object jca {

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

  /** https://crypto.stackexchange.com/questions/35423/appropriate-scrypt-parameters-when-generating-an-scrypt-hash */
  val DefaultSCryptN = 16384
  val DefaultSCryptR = 8
  val DefaultSCryptP = 1

  /** http://www.tarsnap.com/scrypt/scrypt-slides.pdf */
  val SCryptHardenedN = 262144
  val SCryptHardenedR = 8
  val SCryptHardenedP = 2

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy