Provided in the present invention are a method and
system for ensuring the
trustworthiness and security of cyberspace. The method comprises: step S1, on the basis of a multi-identifier network, implementing multi-identifier addressing having
authentication and packet signing embedded therein; step S2, defining digital customs, a digital passport and a digital visa based on the multi-identifier network; step S3, on the basis of
time data, a digital visa key and a
hash function, performing calculation to obtain the digital visa based on the multi-identifier network; step S4, on the basis of the hash value of the digital visa and a cross-states passport key, performing calculation to obtain the digital passport based on the multi-identifier network; step S5, implementing the digital customs by means of a multi-identifier
network router, and using and maintaining an exit border table by means of the digital customs; and step S6, by means of the digital customs, using an arrival border table to verify the digital passport, and updating the arrival border table. The present invention can effectively guarantee the
trustworthiness and security of cyberspace, and enable the
traceability of
blockchain logs, thereby providing a better foundation for ensuring the order, rule of law and peace of cyberspace.