主权项 |
1. A method, comprising:
performing, via a mass serialization tester of a storage device, a specified number of mass serializations to generate a corresponding number of mass serialization sets, wherein a size of the mass serialization sets is increased from a first portion size to a second portion size by a mass serialization engine, and wherein the storage device comprises the mass serialization tester and the mass serialization engine; generating, via the mass serialization tester of a storage device, a plurality of binary strings to populate each of the mass serialization sets, wherein the mass serialization sets are of a specified size, and wherein there are 256B possible binary strings, where B represents a length of the binary strings in bytes; determining, via the mass serialization tester of a storage device, whether each of the plurality of binary strings results in an expected number of collisions; determining, via the mass serialization tester of a storage device, a corresponding number of collisions for each of the specified number of mass serializations; incrementing, via the mass serialization tester of a storage device, the corresponding number of collisions for the corresponding mass serialization sets if a collision occurs while the corresponding mass serialization sets are being increased from the first portion size to the second portion size; comparing, via the mass serialization tester of a storage device, the corresponding number of collisions to the expected number of collisions; and determining, via the mass serialization tester of a storage device, whether the mass serialization engine is cryptographically secure based on the comparison. |