Laser emission in complex structures actively generates unclonable randomness in multidimensional domains, which has great potential for information security. Especially, developing security protocols with extended functions is urgently demanded by the Internet of Things and blockchain applications. Here, a fiber-type microcavity complex laser is developed with a random output spectrum and a bistable output intensity, wherein the dye-doped liquid crystal is used as the gain and hystereticmemory medium. The laser emits multiple spikes that vary randomly pulse-by-pulse in a relatively wide spectral band, and the logical/bistable "0" and "1" states of emission can be controlled by the photothermal effect. The lasers are proposed to act as active encryption units of end nodes in a network, wherein the spectra randomness is used to form random bit strings and the logical states are used to define the classification. Taking advantage of this hybrid advantage of complex lasing, a decentralized key distribution method is proposed with the function of key self-generation and self-direction at individual end nodes. This work would pave the way for information security in the decentralized network of multiscenario applications.