Poker detection method and related device
The embodiment of the invention relates to the technical field of cryptography, and provides a poker detection method and a related device. The method comprises: obtaining a binary to-be-detected sequence, wherein the binary to-be-detected sequence comprises a plurality of non-overlapping sub-sequen...
Gespeichert in:
Hauptverfasser: | , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention relates to the technical field of cryptography, and provides a poker detection method and a related device. The method comprises: obtaining a binary to-be-detected sequence, wherein the binary to-be-detected sequence comprises a plurality of non-overlapping sub-sequences; counting the occurrence frequency of a preset sequence in the plurality of non-overlapping sub-sequences, the preset sequence being a full arrangement of 0 and/or 1 of one byte length; calculating a half-byte statistical value and a full-byte statistical value according to the frequency; and detecting the binary to-be-detected sequence according to the half-byte statistical value and the full-byte statistical value. Compared with the prior art, the embodiment of the invention does not needto count the occurrence frequency of the preset sequence with the half byte length in the non-overlapping sub-sequence, saves a large amount of operation required by the statistics, and improves the poker detection efficiency |
---|