Skip to main content

sign_source_code

Function sign_source_code 

Source
pub fn sign_source_code(source_code: &str, private_key_hex: &str) -> String
Expand description

Signs the canonical representation of the source code with the given private key (hex) and appends a ‘# CORESIG: ’ comment to the original source.