Class Argon2

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

public class Argon2 extends Object implements Argon2
  • Constructor Details

    • Argon2

      public Argon2()
  • Method Details

    • init

      public void init(byte[] salt, int iteration, int type, byte[] additional, byte[] secret, int memory, int parallelism, int version) throws Exception
      Specified by:
      init in interface Argon2
      Throws:
      Exception
    • getKey

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