Is it possible to encrypt certain string and it output 10 character?.

any idea?