com.aspose.cells
Class BIFF7Encrypter
java.lang.Object
com.aspose.cells.BIFF7Encrypter
public class BIFF7Encrypter
- extends java.lang.Object
Method Summary |
byte[] |
decrypt(byte[] input,
int streamPos,
short recordSize)
|
byte[] |
encrypt(byte[] input,
int streamPos,
short recordSize)
|
static int |
getHash(char[] arrCharPW)
|
static int |
getKey(char[] arrCharPW)
|
static boolean |
verifyPassword(java.lang.String password,
int hashValue,
int encryptionKey)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BIFF7Encrypter
public BIFF7Encrypter(java.lang.String password)
encrypt
public byte[] encrypt(byte[] input,
int streamPos,
short recordSize)
decrypt
public byte[] decrypt(byte[] input,
int streamPos,
short recordSize)
verifyPassword
public static boolean verifyPassword(java.lang.String password,
int hashValue,
int encryptionKey)
getHash
public static int getHash(char[] arrCharPW)
getKey
public static int getKey(char[] arrCharPW)