Patent Document ID: 9965634
Application ID: 15081317

Base Claim:
1. A computer program stored on a non-transitory storage medium for encrypting a field value stored in a database system, the computer program comprising a set of instructions, when executed by a hardware processor, to cause the database system to: receive the field value associated with a data object or a table in the database system; identify types of language characters in the field value; select an encoding scheme from among multiple different encoding schemes to encode the field value based on the types of language characters in the field value; use the selected encoding scheme from the multiple different encoding schemes to encode the field value into a byte array; encrypt the encoded byte array of the field value and assign an encoding flag to identify the encoding scheme used to decode the encoded field value; and store the encoding flag and the encrypted byte array in the database system.

---

Claim 6:
6. The computer program of claim 1 , further comprising instructions operable to cause the database system to: use an 8 bit unicode transform format (UTF8) encoding scheme to encode the field value when a majority of the language characters are Latin; and use a 16-bit unicode transform format (UTF16) to encode the field values when a majority of the language characters are Chinese.