added some ByteArray utils functions
improved Hex.fromArray function
added the pbkdf2 algorithm from the pkcs#5 (rfc2898 chapter 5.2)