encrypt,rand