Every depository is authorized to secure deposits by giving bond or giving security, as provided in sections 77-2353 to 77-2361, and otherwise to enter into and become a party to any contract or arrangement, not inconsistent with the provisions hereof, as may be reasonably necessary or proper to render fully effective the provisions of such sections. Section 77-2366 shall apply to deposits in capital stock financial institutions. Section 77-2365.01 shall apply to deposits in qualifying mutual financial institutions.