564
edits
| Line 64: | Line 64: | ||
The current patch for Firefox has become asynchronous. The API has been renamed "window.cipher" and namespaced for the addition of future APIs. | The current patch for Firefox has become asynchronous. The API has been renamed "window.cipher" and namespaced for the addition of future APIs. | ||
This is the basic design: | This is the basic API design: | ||
<pre class="brush:js;toolbar:false;"> | |||
window.cipher.pk.generateKeypair(function callback(aPubKey){}) | window.cipher.pk.generateKeypair(function callback(aPubKey){}) | ||
| Line 79: | Line 80: | ||
window.cipher.hash.SHA256(aPlainText, function callback(aHash){}) | window.cipher.hash.SHA256(aPlainText, function callback(aHash){}) | ||
</pre> | |||
== Test Plans == | == Test Plans == | ||
edits