MIT License

Copyright (c) 2026 riantr

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

---

This license covers the work authored in this repository. It does NOT
relicense third-party code that is included here for verification purposes:

  * verify_c/blowfish_ref.c, verify_c/bsd-sha2.h and verify_c/sha2.c carry
    their upstream BSD notices verbatim;
  * verify_c/chacha.c, verify_c/poly1305.c, verify_c/ed25519_ref.c,
    verify_c/smult_curve25519_ref.c and verify_c/bcrypt_pbkdf_ref.c carry
    their upstream public-domain notices verbatim;
  * triple_check/ contains further reference implementations with their own
    headers.

Each of those files states its own terms at the top. Those terms govern those
files, and their notices are kept rather than removed.

The src/ packages are this repository's own work. Where a source comment cites
an upstream file and line range, it records which reference implementation a
rule was transcribed from -- this project's habit of measuring against a real
implementation -- and is not a copy of that implementation.

MoonBit module dependencies declared in moon.mod, and the npm packages in
package-lock.json, are used under their own licenses and are not covered by
this file either.
