On Oct 24, 2011, at 11:44 PM, Mariano Martinez Peck wrote:
Hi guys. I need to be able to store a password as part of a method. Say I need to be able to do
'thisIsMyPassword' encrypted -> 'dasdafjewrhjk34wh5435345345345ewfsfs'
Then I can write the method:
MyClass >> myPassword
^ 'dasdafjewrhjk34wh5435345345345ewfsfs' decrypted
It should have a kind of public key somehow so that someone cannot easily decrypt it.
How can I do that in Pharo? I am totally newbie with all this stuff.
Thanks,
--
Mariano
http://marianopeck.wordpress.com