Page 1 of 1

? BUG 9.9.94 (encrypt)

Posted: Mon Nov 17, 2008 2:21 pm
by newdep
encrypt does not handle "$" inside string text..

-> (encrypt "secret" {! @ # $ % ^ &})
"RE#RFT"
-> (encrypt "secret" "RE#RFT")
"! @ # "
->


-> (encrypt "secret" (read-file "3"))
"RE#RFT"
-> (encrypt "secret" "RE#RFT")
"! @ # "
->

Posted: Mon Nov 17, 2008 2:42 pm
by Lutz
you are the confusing the order of parameters its: (encrypt source key) not (encrypt key source)

Code: Select all

(encrypt {! @ # $ % ^ &} "secret") => "RE#RFTWEFR;TU"

Posted: Mon Nov 17, 2008 2:45 pm
by newdep
WOW ;-) its 16:00 here and you are even more awake then I am ;-)

Thanks...