code: public static char[] createHash(final char[] password) {
          final char[] prehash = createSha512Hash(password);
          // Todo: remove String when Jbcrypt supports char[]
          return BCrypt.hashpw(new String(prehash), BCrypt.gensalt(ROUNDS)).toCharArray();
      }
docs: Given a password to hash, this method will first prehash the password using SHA-512 thus creating
  a 128 character HEX representation of the password, which is then sent to BCrypt where a unique
  salt is generated and the prehashed password is properly hashed using the configured BCrypt
  work factor (determined by {@link Config.AlpineKey#BCRYPT_ROUNDS}.
  
  @param password the password to hash
  @return a hashed password
  @since 1.0.0