Changed default charset to UTF8 to get rid of extra calls.
Fixed something wrong with AES cipher relating to padding.