Bit-level image encryption algorithm based on fully-connected-like network and random modification of edge pixels