The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Package crypt_bridge loads libhatnfileencryptor at runtime via purego (no cgo)
and exposes Encrypt and Decrypt functions wrapping hatn CryptContainer.
The shared library is located via:
Env var WHITEM_FILE_ENCRYPTOR_LIB (absolute path, takes precedence).
<exe-dir>/native/libhatnfileencryptor.<ext> (ext = dylib on darwin, so on linux).
Contexts (hatn App + cipher suites) are created lazily per (configFile, sectionPath)
pair and cached for the process lifetime.
Concurrency: a package-level mutex serialises calls to each C function.
These are low-frequency admin operations, so a global lock is acceptable and
eliminates any OpenSSL/plugin reentrancy risk.
Decrypt decrypts a CryptContainer blob produced by Encrypt (or
hatn-file-encryptor) using the cipher suites from (configFile, sectionPath)
and the provided passphrase.
Load explicitly loads the shared library. Call this at server startup to
detect a missing or broken library early rather than on the first call.
Safe to call multiple times; the library is loaded at most once.