Removed magic numbers
Better entropy
Written documentation