code: private byte[] pbkdf2(char[] password, byte[] salt) {
          try {
              PBEKeySpec spec = new PBEKeySpec(password, salt, PBKDF2_ITERATIONS, HASH_BYTE_SIZE * 8);
              SecretKeyFactory skf = SecretKeyFactory.getInstance(PBKDF2_ALGORITHM);
              return skf.generateSecret(spec).getEncoded();
          } catch (NoSuchAlgorithmException | InvalidKeySpecException e) {
              throw SeedException.wrap(e, CryptoErrorCode.UNEXPECTED_EXCEPTION);
          }
      }
docs: Computes the PBKDF2 hash of a password.
  
  @param password the password to hash.
  @param salt     the salt
  @return the PBDKF2 hash of the password