• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using NSValueTransformer for encryption
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using NSValueTransformer for encryption


  • Subject: Re: Using NSValueTransformer for encryption
  • From: "Michael Varlik" <email@hidden>
  • Date: Fri, 11 Jan 2008 07:47:42 +0100

-------- Original-Nachricht --------
> Datum: Thu, 10 Jan 2008 14:27:03 -0700
> Von: Keary Suska <email@hidden>
> An: Michael Varlik <email@hidden>, "Cocoa-Dev (Apple)" <email@hidden>
> Betreff: Re: Using NSValueTransformer for encryption

> on 1/10/08 1:29 PM, email@hidden purportedly said:
>
> > Consider the following example: The user edits a text whose stringValue
> > shall be encrypted. After endEditing the value is passed to the managed
> > object which stores it. This is where the value transformer comes into
> play.
> > It takes the value from the text field, encrypts it and passes the
> encrypted
> > value to the managed object.
>
> The transformer will work, you'll just need to make sure the "encrypted"
> state of he text is guaranteed from the perspective of the transformer. If
> the value is only stored and maintained in the model in an encrypted form,
> and only edited by the UI, then so you probably won't have problems with
> using a transformer.
>
> > After that, the string value of the text field has to be set to an empty
> > string which sould remove the unencrypted value from memory.
>
> This will not guarantee, in any way, that the value will truly be removed
> >from memory. Just so you know.
>
Hi Keary,

what's the reason for that? Is there a new NSString object created when I
modify a NSTextField's stringValue?

Best regards,
Michael

> Best,
>
> Keary Suska
> Esoteritech, Inc.
> "Demystifying technology for your home or business"
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger?did=10
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Using NSValueTransformer for encryption
      • From: Keary Suska <email@hidden>
References: 
 >Re: Using NSValueTransformer for encryption (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: Using NSValueTransformer for encryption
  • Next by Date: Re: converting from Big 5 and GuoBiao encodings
  • Previous by thread: Re: Using NSValueTransformer for encryption
  • Next by thread: Re: Using NSValueTransformer for encryption
  • Index(es):
    • Date
    • Thread