The Data is a String. Even before and after encryption.
So you just can encrypt a text and store the encrypted text in your Database.
When you read the Value back from your Database you decrypt the stored String to get the Stored value.
If you are familar with SqLite then you easily should know how to save or read the String.