Class SCrypt

java.lang.Object
com.jcraft.jsch.bc.SCrypt
All Implemented Interfaces:
KDF, SCrypt

public class SCrypt extends Object implements SCrypt
  • Constructor Details

    • SCrypt

      public SCrypt()
  • Method Details

    • init

      public void init(byte[] salt, int cost, int blocksize, int parallel) throws Exception
      Specified by:
      init in interface SCrypt
      Throws:
      Exception
    • getKey

      public byte[] getKey(byte[] pass, int size)
      Specified by:
      getKey in interface KDF