Text mode hashes the editor’s UTF-8 value; pasted line endings may normalize to LF. Use file mode for exact file bytes. Empty text has a valid checksum.
Undo restores the previous import, example, reset, or swap. For typing, use your editor’s normal undo command.