File Hash

Displays the hash of each file

LLA File Hash Plugin

A high-performance file hashing plugin for lla that calculates secure cryptographic hashes (SHA-1 and SHA-256).

Features

  • SHA-1 and SHA-256 hash calculation
  • Efficient buffered reading
  • Progress indication
  • Rich display formatting

Configuration

Located at ~/.config/lla/file_hash/config.toml:

[colors]
sha1 = "bright_green"     # SHA-1 hash color
sha256 = "bright_yellow"  # SHA-256 hash color
success = "bright_green"  # Success messages
info = "bright_blue"     # Information messages
name = "bright_yellow"   # Name highlighting

Usage

# View help information
lla plugin --name file_hash --action help

Display Formats

Default Format

document.pdf
SHA1:   a1b2c3d4
SHA256: e5f6g7h8

Long Format

document.pdf
SHA1:   a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0
SHA256: u1v2w3x4y5z6a7b8c9d0e1f2g3h4i5j6k7l8m9n0p1q2r3s4t5u6v7w8x9y0