Updated Base64 class with new features

- added getRandomSalt & arrayToBase64 methods
* arrayToBase64 will be required for SHA1
Added SHA1

Requires Base64
Added HEX class

Ported from the Java implementation.
Added useful Hex methods

New invert and rotate functions