Add SHA1 interface to ScriptApi