Package org.conscrypt

Class ScryptKeySpec

java.lang.Object
org.conscrypt.ScryptKeySpec
All Implemented Interfaces:
KeySpec

public class ScryptKeySpec extends Object implements KeySpec
Mirrors the class of the same name from BouncyCastle.
  • Field Details

    • password

      private final char[] password
    • salt

      private final byte[] salt
    • costParameter

      private final int costParameter
    • blockSize

      private final int blockSize
    • parallelizationParameter

      private final int parallelizationParameter
    • keyOutputBits

      private final int keyOutputBits
  • Constructor Details

    • ScryptKeySpec

      public ScryptKeySpec(char[] password, byte[] salt, int costParameter, int blockSize, int parallelizationParameter, int keyOutputBits)
  • Method Details

    • getPassword

      public char[] getPassword()
    • getSalt

      public byte[] getSalt()
    • getCostParameter

      public int getCostParameter()
    • getBlockSize

      public int getBlockSize()
    • getParallelizationParameter

      public int getParallelizationParameter()
    • getKeyLength

      public int getKeyLength()