Text this: Construction of Residue Number System Using Hardware Efficient Diagonal Function