Removed trailing zeroes on decrypt

Removed trailign zeroes from decrypted string and bytesToHex method refactor