Class sha1_hash

java.lang.Object
com.frostwire.jlibtorrent.swig.sha1_hash

public class sha1_hash extends Object
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • sha1_hash

      protected sha1_hash(long cPtr, boolean cMemoryOwn)
    • sha1_hash

      public sha1_hash()
    • sha1_hash

      public sha1_hash(sha1_hash arg0)
    • sha1_hash

      public sha1_hash(byte_vector v)
  • Method Details

    • getCPtr

      protected static long getCPtr(sha1_hash obj)
    • swigRelease

      protected static long swigRelease(sha1_hash obj)
    • delete

      public void delete()
    • size

      public static long size()
    • max

      public static sha1_hash max()
    • min

      public static sha1_hash min()
    • clear

      public void clear()
    • is_all_zeros

      public boolean is_all_zeros()
    • op_eq

      public boolean op_eq(sha1_hash n)
    • op_ne

      public boolean op_ne(sha1_hash n)
    • op_lt

      public boolean op_lt(sha1_hash n)
    • count_leading_zeroes

      public int count_leading_zeroes()
    • op_inv

      public sha1_hash op_inv()
    • op_xor

      public sha1_hash op_xor(sha1_hash n)
    • op_and

      public sha1_hash op_and(sha1_hash n)
    • assign

      public void assign(byte_vector v)
    • hash_code

      public int hash_code()
    • to_bytes

      public byte_vector to_bytes()
    • to_hex

      public String to_hex()
    • from_hex

      public static sha1_hash from_hex(String s)
    • compare

      public static int compare(sha1_hash h1, sha1_hash h2)