public class MhashModule extends AbstractQuercusModule
MessageDigest
class to calculate
digests. Typical java installations support MD2, MD5, SHA1, SHA256, SHA384,
and SHA512.Modifier and Type | Class and Description |
---|---|
static class |
MhashModule.MhashAlgorithm |
Modifier and Type | Field and Description |
---|---|
static int |
MHASH_ADLER32 |
static int |
MHASH_CRC32 |
static int |
MHASH_CRC32B |
static int |
MHASH_GOST |
static int |
MHASH_HAVAL128 |
static int |
MHASH_HAVAL160 |
static int |
MHASH_HAVAL192 |
static int |
MHASH_HAVAL224 |
static int |
MHASH_HAVAL256 |
static int |
MHASH_MD2 |
static int |
MHASH_MD4 |
static int |
MHASH_MD5 |
static int |
MHASH_RIPEMD128 |
static int |
MHASH_RIPEMD160 |
static int |
MHASH_RIPEMD256 |
static int |
MHASH_RIPEMD320 |
static int |
MHASH_SHA1 |
static int |
MHASH_SHA224 |
static int |
MHASH_SHA256 |
static int |
MHASH_SHA384 |
static int |
MHASH_SHA512 |
static int |
MHASH_SNEFRU128 |
static int |
MHASH_SNEFRU256 |
static int |
MHASH_TIGER |
static int |
MHASH_TIGER128 |
static int |
MHASH_TIGER160 |
static int |
MHASH_WHIRLPOOL |
PHP_INI_ALL, PHP_INI_PERDIR, PHP_INI_SYSTEM, PHP_INI_USER
Constructor and Description |
---|
MhashModule() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getLoadedExtensions()
Returns the extensions loaded by the module.
|
int |
mhash_count()
Returns the highest available hash id.
|
Value |
mhash_get_block_size(int hash) |
Value |
mhash_get_hash_name(Env env,
int hash) |
Value |
mhash(Env env,
int hash,
StringValue data,
java.lang.String key) |
addConstant, addConstant, addConstant, getConstMap, getIniDefinitions
public static final int MHASH_CRC32
public static final int MHASH_MD5
public static final int MHASH_SHA1
public static final int MHASH_HAVAL256
public static final int MHASH_RIPEMD160
public static final int MHASH_TIGER
public static final int MHASH_GOST
public static final int MHASH_CRC32B
public static final int MHASH_HAVAL224
public static final int MHASH_HAVAL192
public static final int MHASH_HAVAL160
public static final int MHASH_HAVAL128
public static final int MHASH_TIGER128
public static final int MHASH_TIGER160
public static final int MHASH_MD4
public static final int MHASH_SHA256
public static final int MHASH_ADLER32
public static final int MHASH_SHA224
public static final int MHASH_SHA512
public static final int MHASH_SHA384
public static final int MHASH_WHIRLPOOL
public static final int MHASH_RIPEMD128
public static final int MHASH_RIPEMD256
public static final int MHASH_RIPEMD320
public static final int MHASH_SNEFRU128
public static final int MHASH_SNEFRU256
public static final int MHASH_MD2
public java.lang.String[] getLoadedExtensions()
AbstractQuercusModule
getLoadedExtensions
in interface QuercusModule
getLoadedExtensions
in class AbstractQuercusModule
public Value mhash(Env env, int hash, StringValue data, java.lang.String key)
public int mhash_count()
public Value mhash_get_block_size(int hash)