The length of the encrypted data would depend on the length of the original data. Hashing can and does output specific length regardless of the input, but hashing is one-way, so you cannot get the original data back again.