It's all about the answers!

Ask a question

encrypte password for connecting to repository


Eray ─░zgin (1161423) | asked Nov 21 '11, 7:55 a.m.
For some projects, we don't want to share password.
We want to login by the encrypted password . How can I hide/encrypte password in our applications? I use plain java snippet for connecting to a repository.

ITeamRepository.ILoginHandler()

One answer



permanent link
sam detweiler (12.4k6179201) | answered Nov 21 '11, 8:12 a.m.
how strong does the encryption need to be? if light, you could mime64 encode it and use the encoded chars in the configuration.. easy to decode

if u need more, then you'll have to find one of the encryption methods that support round trip (encrypt and decrypt)...

this is Java after all so those services might be available..

Sam

Your answer


Register or to post your answer.