ScryptConfig (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.crypto.util

## Class ScryptConfig

- java.lang.Object
- - org.bouncycastle.crypto.util.PBKDFConfig
  - - org.bouncycastle.crypto.util.ScryptConfig

-     public class ScryptConfig
      extends PBKDFConfig

  Configuration class for a PBKDF based around scrypt.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `ScryptConfig.Builder`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getBlockSize()`
    `int` | `getCostParameter()`
    `int` | `getParallelizationParameter()`
    `int` | `getSaltLength()`

    - ### Methods inherited from class org.bouncycastle.crypto.util.PBKDFConfig

      `getAlgorithm`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getCostParameter

          public int getCostParameter()

    - #### getBlockSize

          public int getBlockSize()

    - #### getParallelizationParameter

          public int getParallelizationParameter()

    - #### getSaltLength

          public int getSaltLength()