|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.quercus.lib.mcrypt.Mcrypt
public class Mcrypt
Encryption class
Method Summary | |
---|---|
void |
close()
Closes the mcrypt. |
byte[] |
decrypt(byte[] data)
Encrypts data. |
boolean |
deinit()
Uninitialize data. |
byte[] |
encrypt(byte[] data)
Encrypts data. |
java.lang.String |
get_algorithms_name()
Returns the initialization vector size. |
int |
get_block_size()
Returns the block size. |
int |
get_iv_size()
Returns the initialization vector size. |
int |
get_key_size()
Returns the maximum key size in bytes. |
java.lang.String |
get_modes_name()
Returns the initialization vector size. |
Value |
get_supported_key_sizes()
Returns the supported key sizes |
int |
init(byte[] keyBytesArg,
byte[] iv)
Initialize the crypt. |
boolean |
is_block_algorithm_mode()
Returns true for block algorithms |
boolean |
is_block_algorithm()
Returns true for block algorithms |
boolean |
is_block_mode()
Returns true for block algorithms |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public boolean deinit()
public byte[] decrypt(byte[] data)
public byte[] encrypt(byte[] data)
public int get_block_size()
public java.lang.String get_algorithms_name()
public int get_iv_size()
public Value get_supported_key_sizes()
public int get_key_size()
public java.lang.String get_modes_name()
public int init(byte[] keyBytesArg, byte[] iv)
public boolean is_block_algorithm()
public boolean is_block_algorithm_mode()
public boolean is_block_mode()
public void close()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |