System and method for hashing a data string using an image
AssigneeInfosys Limited
InventorStephenson Daniel Kanagaraj
Life of this patent
Estimating the term…
Abstract
Hashing data using an image by performing a bit by bit concatenation of input text and hash key. The result is concatenated bit by bit with the salt. A two bit by two bit multiplication between the result and the reverse of the result is performed to get a next output. The bits of this output are used as coordinates to extract pixel and RGB values from an image. The extracted values are merged to form a string. The string is truncated to a desired length, and then split into two equal strings. A bit by bit concatenation is performed on the split strings to get a hash output.
Claims12
A method for hashing a data string using an image, the method comprising:
- converting each of an input string, a hash key of a predefined length, and a salt of a predefined length associated with the input string into numerical data strings;
- applying a first hash function on the converted numerical data strings, to get a first output string;
- extracting a set of values from a predetermined image using numerals from the first output string as coordinates;
- applying a second hash function on the extracted set of values to get a second output string;
- truncating the second output to a predetermined number of bits;
- and
- splitting the truncated second output string into multiple data strings, and applying a third hash function on the split data strings to get a hash value output.
A data string hashing device comprising:
- at least one processor;
- and
- at least one memory unit operatively coupled to at least one processor communicatively coupled over the cluster computing network and having instructions stored thereon that, when executed by the at least one processor, cause the at least one processor to:
- convert each of an input string, a hash key of a predefined length, and a salt of a predefined length associated with the input string into numerical data strings using a converter component;
- apply a first hash function on the converted numerical data strings to get a first output string using a hashing component;
- extract a set of values from a predetermined image using numerals from the first output string as coordinates using the hashing component;
- apply a second hash function on the extracted set of values to get a second output string using the hashing component;
- truncate the second output to a predetermined number of bits using the hashing component;
- and
- split the truncated second output string into multiple data strings and apply a third hash function on the split data strings to get a hash value output using the hashing component.
Dependencies are inferred from the claim text.