public static void main(final String... args){
  final BCryptPasswordEncoderUtil encoderUtil=new BCryptPasswordEncoderUtil();
  for (  final String arg : args) {
    final String encodedText=encoderUtil.encode(arg);
    final String message=String.format(ENCODED_FORMAT,arg,encodedText);
    encoderUtil.write(message);
  }
  encoderUtil.close();
}

public static void main ( final String ... args ) { final BCryptPasswordEncoderUtil encoderUtil = new BCryptPasswordEncoderUtil ( ) ; for ( final String arg : args ) { final String encodedText = encoderUtil . encode ( arg ) ; final String message = String . format ( ENCODED_FORMAT , arg , encodedText ) ; encoderUtil . write ( message ) ; } encoderUtil . close ( ) ; }
facilitates gathering user input and invoking the class behavior .
