aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* README: point to kas's Python implementation.HEADmasterKaz Kylheku2022-10-261-0/+6
|
* README: point to signed Firefox add-on at mozilla.org.Kaz Kylheku2022-10-261-11/+14
|
* README: inform about the FF add-on.Kaz Kylheku2022-10-251-2/+12
|
* firefox: make undo work.Kaz Kylheku2022-10-251-6/+8
| | | | | | | * firefox/jp-hash.js (jp_hash_edit): Use execCommand to issue insertText actions to edit the object, rather than doing it directly, so that undo integrity is preserved.
* firefox: re-select replaced selection.Kaz Kylheku2022-10-241-1/+5
| | | | | | * firefox/jp-hash.js (jp_hash_edit): After replacing the content of the text object, select that portion of it which replaced the prior selection.
* firefox: feature: JP-Hash selection.Kaz Kylheku2022-10-241-1/+13
| | | | | | | * firefox/jp-hash.js (jp_hash_edit): If there is no selection, the whole input box is replaced with its hash. Oterwise, only the selection is replaced.
* firefox: remove browser action log chatter.Kaz Kylheku2022-10-241-1/+1
| | | | | | * firefox/background.js (on_executed): Don't log anything in the happy case. (on_error): Log if this is called.
* firefox: remove irrelevant permission.Kaz Kylheku2022-10-241-1/+1
| | | | | * firefox/manifest.json: remove webNavigation permission request.
* firefox: convert to built-in async SHA256.Kaz Kylheku2022-10-241-105/+11
| | | | | | | | | | | | | * firefox/jp-hash.js (jp_hash): Renamed to async function jp_hash_complete which receives digest as an argument. (jp_hash_start): New async function: initiates SHA256 async operation, returning promise. (jp_hash_sha256): Andrea Griffini's portable synchronous implementation removed. (jphash): New async function: stages the two steps of the hash, and then invokes the continuation. (jp_hash_edit): Switch to async. Assignment of new value is done in continuation.
* New: JP-Hash Firefox extension.Kaz Kylheku2022-10-246-0/+287
| | | | | | | | | | | | | | | | Puts a button on the toolbar which will replace the contents of the current input box with its JP-Hash. The Alt-J hot key sequence does the same. * firefox/background.js, * firefox/jp-hash.js: New files. * firefox/jp-hash-32.png, * firefox/jp-hash-48.png, * firefox/jp-hash-96.png: Likewise. * firefox/manifest.json: Likewise.
* README: add details to spec.Kaz Kylheku2022-10-241-30/+48
| | | | | | * README.md: Specify the details of the seven cases of combining the pieces into the output result, instead of referring to the implementation.
* README: expand password security section.Kaz Kylheku2022-10-181-4/+48
| | | | | | * README.md: Strengthen the wording of the disclaimer; add cautionary information. Add section discouraging use as a digest.
* README: fixes.Kaz Kylheku2022-10-181-3/+9
| | | | | | | | * README.md: syllables are from a set of 97, not 92. Expand that section by comparing to the length of a lower-case password, and citing the entropy. Remove stray "e" line. Examples section renamed to Example Hashes.
* web demo: wider output box.Kaz Kylheku2022-10-181-1/+1
| | | | | * jp-hash.html: make output field wider; seeing truncation on longer hashes.
* New project: JP-HashKaz Kylheku2022-10-189-0/+764
|
* NILKaz Kylheku2022-10-180-0/+0