Re: lisp-mysql connection password encryption?

John Foderaro <[email protected]>
Newsgroups gmane.lisp.allegro
Message-ID <[email protected]>
 you can encrypt your password using blowfish using a key of your choosing:

cl-user(1): (setq encr (excl:blowfish-encrypt "mypass" :key "decryptkey"))

#(168 215 26 129 6 186 115 28)



When your application starts up it can ask for the key or it can read
it from a file that's only readable by you and then it can recover 
your password

cl-user(2): (excl:blowfish-decrypt 
                (make-array 8 
                    :element-type '(unsigned-byte 8) 
                    :initial-contents '(168 215 26 129 6 186 115 28)) 
                :key "decryptkey" :string t)

"mypass"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.