Cache encrypt table to speed up loading time

For iphone4s, calculating cipher will cost about 8 secs. cache it by NSUserDefaults will obviously improve it.