Jolle Carlestam wrote on 11/4/2008 9:38 AM: > I suspect I've stumbled on a bug in the encrypt tag used by knop_user. > > > This code snippet; > #output = encode_base64: (cipher_encrypt: #data, -cipher=#cipher); > > Should be this: > #output = encode_base64: (cipher_digest: #data, -digest=#cipher); > > Since it's using RIPEMD160 or MD5 as fallback it has to be cipher_digest > not cipher_encrypt. > > At least I get errors reported when trying to use it. > > No ciphers available with this name > at: encrypt with params: 'testing', -cipher='RIPEMD160'
Cipher_Encrypt is for when you want to unencrypt the data, Cipher_Digest is a one-way operation (hash). So don't use Cipher_Digest if you want to unencrypt it.
- Bil
############################################################# This message is sent to you because you are subscribed to the mailing list <knop@lists.montania.se>. To unsubscribe, E-mail to: <knop-off@lists.montania.se> Send administrative queries to <knop-request@lists.montania.se> List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html Project homepage http://montania.se/projects/knop/ Google Code has the latest downloads at http://code.google.com/p/knop/
Nov 04
Jolle Carlestam Possible encrypt bug
Nov 04, 2008; 16:38
Jolle Carlestam
Possible encrypt bug
Nov 04
Jolle Carlestam Re: Possible encrypt bug
Nov 04, 2008; 17:10
Jolle Carlestam
Re: Possible encrypt bug
Nov 04
Johan Solve Re: Possible encrypt bug
Nov 04, 2008; 17:12
Johan Solve
Re: Possible encrypt bug
Nov 04
Johan Solve Re: Possible encrypt bug
Nov 04, 2008; 17:33
Johan Solve
Re: Possible encrypt bug
Nov 04
Johan Solve Re: Possible encrypt bug
Nov 04, 2008; 17:39
Johan Solve
Re: Possible encrypt bug
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!