code: public static String getHashSHA1(String text) {
          byte[] bytes = text.getBytes(StandardCharsets.ISO_8859_1);
          return getHashSHA1(bytes);
      }
docs: Calculates the SHA1 hash of the string.
  
  @param text
  @return sha1 hash of the string