An approach towards design and implementation of microprocessors based cryptosystems for secured transmission