Updated on 2023-04-26 GMT+08:00

Code Signature

When a function is created or modified, FunctionGraph encrypts the function code and generates a signature to prevent inconsistency caused by code file damage or tampering. The signature is stored in the function metainformation.

When executing a function, FunctionGraph generates a signature for the current code and compares it with the signature in the metainformation. Only code that passes the consistency check is executed. If the check fails, FunctionGraph will not execute the code but return an error.