Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » UltraLiteJ » UltraLiteJ Reference » UltraLiteJ API reference » EncryptionControl interface


decrypt function

Decrypts a byte array in the database.

void EncryptionControl.decrypt(
  int page_no,
  byte[] src,
  byte[] tgt
) throws ULjException
  • page_no   The page number of the array data.

  • src   The encrypted source page.

  • tgt   The resulting page that is decrypted by the method.


This method is supplied with an encrypted byte array, src, and an associated page number. Your method must decrypt src and store the result into the tgt byte array. tgt is then used for data operations within your application.