Why not just something like | password cryptedPassword | password := UITheme current passwordEntryIn: World text: 'Password' title: 'Title' entryText: ''. cryptedPassword := MD5 new initialize hashStream: password readStream ? Ben On Feb 2, 2013, at 5:06 PM, Paul DeBruicker <pdebruic@gmail.com> wrote:
For an example of the login process using Pharo + Seaside see
http://www.squeaksource.com/TFLogin
Which you can probably adapt for just Pharo
To store the passwords, if you're on linux, use the bcrypt implementation in the PasswordHashingFFI package from here:
http://www.squeaksource.com/Cryptography.html
I'd be interested in getting PasswordHashingFFI working on Windows or MacOSX so would help if I can. But using it makes your implementation depend upon an external library you'd likely have to find and supply for users.
On 02/01/2013 03:36 PM, J. P. L. MartÃn wrote:
Hello people, I'm making a Practical Work in Pharo with my classmates, the Work should be a fully working application to manage a University Library. At the moment we have most of the work done, I must say it's messy and far from being beautiful, but it works and it's likely to be approved. Here is what's done so far: https://github.com/arguser/Paradigmas-Final
Most of the work was doing making research and guided mostly y examples, so far I didn't find how to do or make work some features: * A Dialog which prompts for User and Password (We don't know how to implement it in-code either) * Block a father window when a child is made, so the father window can't be closed if a child window exist. * Make some content of windows change size dynamically. * Search only for filled-in fields from search form.
If any advice or example can be given addressing the previous matters it will be really helpful.
Thanks in advance!