public class sha1_hash
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Modifier | Constructor and Description |
|---|---|
|
sha1_hash() |
|
sha1_hash(byte_vector s) |
protected |
sha1_hash(long cPtr,
boolean cMemoryOwn) |
|
sha1_hash(sha1_hash other) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
static int |
compare(sha1_hash h1,
sha1_hash h2) |
int |
count_leading_zeroes() |
void |
delete() |
protected void |
finalize() |
protected static long |
getCPtr(sha1_hash obj) |
int |
hash_code() |
boolean |
is_all_zeros() |
static sha1_hash |
max() |
static sha1_hash |
min() |
boolean |
op_eq(sha1_hash n) |
boolean |
op_lt(sha1_hash n) |
boolean |
op_ne(sha1_hash n) |
static long |
size() |
byte_vector |
to_bytes() |
java.lang.String |
to_hex() |
protected sha1_hash(long cPtr,
boolean cMemoryOwn)
public sha1_hash()
public sha1_hash(sha1_hash other)
public sha1_hash(byte_vector s)
protected static long getCPtr(sha1_hash obj)
protected void finalize()
finalize in class java.lang.Objectpublic void delete()
public static long size()
public static sha1_hash max()
public static sha1_hash min()
public void clear()
public boolean is_all_zeros()
public int count_leading_zeroes()
public int hash_code()
public byte_vector to_bytes()
public java.lang.String to_hex()
public boolean op_eq(sha1_hash n)
public boolean op_ne(sha1_hash n)
public boolean op_lt(sha1_hash n)