code: function SHA1(source) { // @arg String - source string
                          // @ret SHA1HashHexString
  //{@dev
      $valid($type(source, "String"), SHA1, "source");
  //}@dev
  
      var sha1 = DataType["Array"]["toHexStringArray"](
                      SHA1_encode(
                          DataType["Uint8Array"]["fromString"](source) ) );
  
      return sha1.join("");
  }
docs: --- define / local variables ---------------------------- var _runOnNode = "process" in global; var _runOnWorker = "WorkerLocation" in global; var _runOnBrowser = "document" in global; --- class / interfaces ----------------------------------