US 12,284,269 B2
System and method for securing computer code using dynamically generated digital signatures
J T Kostman, Lake Hopatcong, NJ (US); and Brian Gallagher, Waterford, VA (US)
Assigned to ProtectedBy.AI, Inc., Reston, VA (US)
Filed by ProtectedBy.AI, Inc., Reston, VA (US)
Filed on Dec. 21, 2021, as Appl. No. 17/558,171.
Claims priority of provisional application 63/129,388, filed on Dec. 22, 2020.
Prior Publication US 2022/0200787 A1, Jun. 23, 2022
Int. Cl. H04L 9/06 (2006.01); H04L 9/32 (2006.01)
CPC H04L 9/0643 (2013.01) [H04L 9/0618 (2013.01); H04L 9/3236 (2013.01); H04L 9/3247 (2013.01)] 19 Claims
OG exemplary drawing
 
1. A method for securing computer code from tampering, the method comprising:
receiving, by one or more processors, computer code to be secured, the computer code comprising a plurality of code blocks that are sequentially ordered;
applying, by the one or more processors, a secure hash function to information associated with a first code block of the plurality of code blocks to produce a first hashed signature corresponding to the first code block, the information associated with the first code block comprising the first code block and additional information associated with the first code block, wherein the additional information associated with the first code block comprises user information associated with a user that authored the first code block, credentials associated with the user that authored the first code block, and security data associated with the first code block or the user;
inserting, by the one or more processors, the first hashed signature into the first code block to produce a signed first code block;
applying, by the one or more processors, a secure hash function to information associated with different code blocks of the plurality of code blocks to produce additional hashed signatures,
wherein the information associated with a particular different code block comprises the different code block, additional information associated with the different code block, and a hashed signature of a prior code block of the plurality of code blocks, the prior code block determined based on the sequential ordering of the plurality of code blocks, and wherein the additional information associated with the different code block comprises user information associated with a user that authored the different code block, credentials associated with the user that authored the different code block, and security data associated with the different code block or the user that authored the different code block; and
outputting, by the one or more processors, a plurality of hashed signatures.