public static SecretKeys generateKeyFromPassword(String password,String salt) throws GeneralSecurityException {
  return generateKeyFromPassword(password,Base64.decode(salt,BASE64_FLAGS));
}

public static SecretKeys generateKeyFromPassword ( String password , String salt ) throws GeneralSecurityException { return generateKeyFromPassword ( password , Base64 . decode ( salt , BASE64_FLAGS ) ) ; }
a function that generates password - based aes & hmac keys . see generatekeyfrompassword .
