| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: The number of bytes stored in cleartext.the byte array containing the ciphertext ciphertext, int decrypt from this byte offset in the ciphertext offset, int decrypt this many bytes starting from offset length, byte[] the byte array to store the cleartext cleartext, int the offset into the cleartext array the output
should go
If cleartext and ciphertext are the same array, caller must be careful
to not overwrite the ciphertext before it is un-scrambled. outputOffset)Decrypt data - use only with Cipher that has been initialized with CipherFactory.DECRYPT. |
| public int | Returns: The number of bytes stored in ciphertext.the byte array containing the cleartext cleartext, int encrypt from this byte offset in the cleartext offset, int encrypt this many bytes starting from offset length, byte[] the byte array to store the ciphertext ciphertext, int the offset into the ciphertext array the output
should go
If cleartext and ciphertext are the same array, caller must be careful
to not overwrite the cleartext before it is scrambled. outputOffset)Encrypt data - use only with Cipher that has been initialized with CipherFactory.ENCRYPT. |
| public int | Returns: the encryption block sizeReturns the encryption block size used during creation of the encrypted database |
| decrypt | back to summary |
|---|---|
| public int decrypt(byte[] ciphertext, int offset, int length, byte[] cleartext, int outputOffset) throws StandardException Decrypt data - use only with Cipher that has been initialized with CipherFactory.DECRYPT.
| |
| encrypt | back to summary |
|---|---|
| public int encrypt(byte[] cleartext, int offset, int length, byte[] ciphertext, int outputOffset) throws StandardException Encrypt data - use only with Cipher that has been initialized with CipherFactory.ENCRYPT.
| |
| getEncryptionBlockSize | back to summary |
|---|---|
| public int getEncryptionBlockSize() Returns the encryption block size used during creation of the encrypted database
| |