Class Hash

java.lang.Object
one.pkg.tiny.utils.Hash

public class Hash extends Object
  • Constructor Details

    • Hash

      public Hash()
  • Method Details

    • hash

      public static byte[] hash(byte[] data)
    • hash

      public static byte[] hash(@NotNull @NotNull String data)
    • hash

      public static byte[] hash(@NotNull @NotNull File file) throws Exception
      Throws:
      Exception
    • hash

      public static byte[] hash(@NotNull @NotNull Path file) throws Exception
      Throws:
      Exception
    • format

      public static String format(byte[] hash)