An Approach towards design and implementation of microprocessor-based cryptosystems for secured transmission