[Q] password encryption
Joern Eyrich
joern at eyrich.org
Tue Jan 15 20:20:28 UTC 2002
> On Sun, 13 Jan 2002, Gerald Leeb wrote:
>
> > I'm searching for a password encryption like the Unix password
> > security. I need a one-way encryption.
> >
> > Is such an algorithm alredy implemented in Squeak or does somebody
> > know, where I can find one. I'm not familiar with encryption and need
> > help.
>
> Class Authorizer does RFC1421 encryption, which is what HTTP uses:
>
> Authorizer new encode: 'name' password: 'pass'
>
> --> 'bmFtZTpwYXNz'
It's not one-way, though.
Looks like the "Basic" authenticatiion scheme, which is bas64-encoding
for "name:pass"
(check with http://www.wc.cc.va.us/dtod/base64/default.asp, for example)
More information about the Squeak-dev
mailing list
|