Nyami
FeaturesPricing

Getting started

  • Overview
  • Quickstart

Reference

  • Settings
  • API

Protection

  • Security model
  • Licensing

Help

  • Troubleshooting

Docs / Licensing

Licensing

A protected build can be bound to one machine, given a deadline, or both at once. Licensing is applied inside the artifact during the same pass that protects it, and it is metered like every other obfuscation.

Machine locking

A machine lock binds the build to the fingerprint you supply. At runtime, Nyami reads the fingerprint of the machine in that format and uses PBKDF2-HMAC-SHA256 to derive the AES-GCM decryption key.

Run the Windows HWID reader on the computer that will run the protected file and paste its output into the HWID Lock field. In a protected build, GET_HWID_STATIC()returns the same value as the reader run without flags. H3 uses a compatible TPM and hardware serials. H2 uses hardware serials when no compatible TPM is detected.

FormatShapeExample
TPM-backed H3H3- followed by 64 lowercase hexadecimal charactersH3-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Serial-based H2H2- followed by 64 lowercase hexadecimal charactersH2-bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
Legacy dynamic64 lowercase hexadecimal characters3f9c0a1b7d5e4c2f8a6b0d9e1c3f5a7b8d0e2c4f6a8b0d2e4f6a8c0e2d4f6a8b
Legacy staticS- followed by four groups of four uppercase hexadecimal charactersS-4F2A-90BC-1E3D-77A0

Leave the machine lock empty for an unlocked build. A locked build is tied to the single fingerprint supplied at build time. Build a separate file for each machine you authorise.

Trial builds

A trial build carries a deadline inside the artifact. The build behaves normally until the window closes, then refuses to run. Windows are written as a number and a unit, from thirty minutes up to a year.

UnitMeaningExample
mMinutes30m
hHours12h
dDays7d
wWeeks1w
moMonths1mo
yYears1y

Units can be concatenated into a compound window, so a licence of one week and two days is expressed as a single value rather than converted to hours by hand.

The deadline is bound to the build

The window is sealed into the artifact itself rather than recorded beside it. Copying the build to another machine breaks the trial instead of extending it.

Clock rollback is detected

Moving the system clock backwards does not reopen a closed window. A rollback is treated as tampering and the build refuses to run.

Combining the two

Machine locking and a trial window are independent settings, and setting both on the same build is the usual shape for a delivered licence. The artifact then runs only on the authorised machine, and only until the deadline passes. Neither control weakens the other: the machine lock still gates decryption on every run, and the deadline still ends the build wherever it is running.

How to set it

Both values live in the same settings object the rest of the pipeline reads, so a licensed job is submitted exactly like any other. Populate the machine lock and the trial window and send the job as usual. Leaving either one empty disables that control.

cURL
curl -X POST https://nyami.cc/api/obfuscate \
  -H "X-API-Key: nyami_your_key_here" \
  -F "file=@script.py" \
  -F 'settings={"optimization":"1","python_version":"3.14","anti_debug":"none","hwid":"S-4F2A-90BC-1E3D-77A0","trial_time":"7d"}'
Python
import json

import requests

settings = {
    "optimization": "1",
    "python_version": "3.14",
    "anti_debug": "none",
    "hwid": "S-4F2A-90BC-1E3D-77A0",
    "trial_time": "7d",
}

with open("script.py", "rb") as handle:
    response = requests.post(
        "https://nyami.cc/api/obfuscate",
        headers={"X-API-Key": "nyami_your_key_here"},
        files={"file": ("script.py", handle, "text/x-python")},
        data={"settings": json.dumps(settings)},
        timeout=120,
    )

response.raise_for_status()
print(response.json()["jobId"])

The settings object is documented in full on the settings page, and the submission flow is walked through in the quickstart.

Credits

Licensing is not a separate meter. Every obfuscation debits one credit from a finite balance, from the dashboard or the API alike, whether or not the build carries a machine lock or a trial window. Nothing is unlimited on any plan.

PlanAllowanceNotes
Pay as you go1 credit, no expiryOne obfuscation, no subscription.
Starter50 credits over 30 daysDashboard access.
Starter API100 credits over 30 daysAdds external API keys.
Pro1000 credits over 30 daysDashboard access and the priority queue.
Pro API500 credits over 30 daysExternal API keys.
Business1000 credits over 30 daysAPI only, built for teams and CI/CD.

Refilling a bucket that is still funded adds bonus days, capped per bucket. Credits are consumed in the same transaction that creates the job, so a job that never runs does not leave a half charged account behind.

Because credits are shared between the dashboard and the API, a build protected from the dashboard and a build protected from a CI pipeline draw down the same balance. The dashboard and API pages cover the surfaces themselves; the ledger is one.

Common questions

What happens when the build runs on the wrong machine? A fingerprint mismatch prevents the payload from decrypting, so application code does not start.

What happens when a trial expires? The build refuses to run. An expired deadline and a clock rolled backwards both end in the same place, so the artifact fails closed instead of continuing in some degraded mode.

Can a trial be reset by moving the clock? No. Clock rollback is detected, and moving the build to another machine breaks the trial rather than extending it. If a customer needs more time, issue a new build with a new window.

Previous

Security model

Next

Troubleshooting

NYAMI

Python protection through compilation, encryption, and active defense.

40+ protection modules

Product

  • Features
  • Pricing
  • Comparison
  • Purchase

Developers

  • Quickstart
  • Documentation
  • Blog

Support

  • Discord
  • projectnyami@proton.me

© 2026 Nyami. All rights reserved.

Terms of ServicePrivacy PolicyRefund Policy
NYAMI