Added PKCS5 padding, not really tested though.
Fixed dumb mistake of using AES_BLOCK_LENGHT instead of AES_BLOCK_BYTELEN