TRUNK-3709  Secret answer should be encrypted

Used SHA512 hash for hashing secret answer using encodeStringSHA1() in Security,java