avoid repeated strlen usage
remove useless check
zero sensitive data more secure way
fix sprintf format
zero sensitive data more secure way
zero sensitive data more secure way
remove useless condition 0 > unsigned