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

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

 

encrypt method

Encrypts a byte array in the database.

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

  • src   The decrypted source page.

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

Remarks

This method is supplied with an unencrypted byte array, src, and an associated page number. Your method must encrypt or obfuscate src and store the result into the tgt byte array. tgt is then stored into the database.