Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8688275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:19:17+00:00 2026-06-12T23:19:17+00:00

I want to encrypt some Core Data columns with the NSValueTransformer class but I’m

  • 0

I want to encrypt some Core Data columns with the NSValueTransformer class but I’m not quite sure what encryption method to use. Has anyone ever tried to encrypt individual entities while using Core Data and if so, is there any sample code of a working implementation? I would want the encryption to not interfere with any NSPredicates I use later on to get back data from the db

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T23:19:18+00:00Added an answer on June 12, 2026 at 11:19 pm

    The iPhoneCoreDataRecipes sample code from Apple has an example of using a subclass of NSValueTransformer along with a transformable attribute in the model. See the transformable attribute type setting:

    enter image description here

    and the value transformer implementation:

    In your case, you would need to provide the encryption and decryption algorithms in the transformedValue and reverseTransformedValue methods respectively, along the lines suggest here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use some code to encrypt & decrypt string in C# but i want
I want to encrypt some data in python with PyCrypto. However I get an
we want to encrypt some attributes of our entity, but still be able to
I want to encrypt some server data using .NET's RSACryptoServiceProvider and decrypt it when
I want to encrypt some data in a form using jQuery before it's sent
I am looking to encrypt data. I want to generate encryption keys based on
I use the following code to encrypt some data and I want to move
I am now using Oracle 10g (10.0.2) I want to encrypt some columns in
so my problem is simple. I want to Encrypt some text and write it
I want that user/attacker to encrypt the data and send to server. Now I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.