, ["compile"] = function(ll,s) local fn = string.match(ll,"^%s*([^%s]+)%s*$");
local r,err = pcall(node.compile,fn); if not r then s("ERR: "..err) end
end
+, ["sha256"] = function(ll,s) -- compute the hash of a file in flash
+ local fn = string.match(ll,"^%s*([^%s]+)%s*$")
+ s(crypto.toBase64(crypto.fhash('sha256',fn)))
+ end
, ["pread"] = function(ll,s) -- read b64 data from off in fn
local len, off, fn = string.match(ll,"^%s*(%d+)%s+(%d+)%s+([^%s]+)%s*$")
if fn == nil then s("ERR: Need file"); return end