Update net_crypto.c

changed all "i++" into "++i", as proposed by nfkd