[#69485748]Returns error if password is too short

Signed-off-by: Steven Magelowitz <steven.magelowitz@gmail.com>