Fixed logical bug of Security Algorithms Factory which is "Forget to initialize the instance"