Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate


com.aspose.cells
Class BIFF7Encrypter

java.lang.Object
  extended by com.aspose.cells.BIFF7Encrypter

public class BIFF7Encrypter
extends java.lang.Object


Constructor Summary
BIFF7Encrypter(java.lang.String password)
           
 
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
 

Constructor Detail

BIFF7Encrypter

public BIFF7Encrypter(java.lang.String password)
Method Detail

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)