Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

KeyNubLicDongle

Guides

  • KeyNub License Dongle

Symbols

  • LicDongleAppDecrypt
  • LicDongleAppEncrypt
  • LicDongleAuthorizeWrite
  • LicDongleClose
  • LicDongleDevices
  • LicDongleEraseAllRecords
  • LicDongleEraseRecord
  • LicDongleGenuineQ
  • LicDongleIncrementCounter
  • LicDongleInfo
  • LicDongleLastErrorDetail
  • LicDongleLibraryPath
  • LicDongleLibraryVersion
  • LicDongleOpen
  • LicDongleOpenPath
  • LicDongleReadCounter
  • LicDongleReadRecord
  • LicDongleRecords
  • LicDongleRotateWriteKey
  • LicDongleSerial
  • LicDongleSessionClose
  • LicDongleSessionOpen
  • LicDongleSetTrustRoot
  • LicDongleStatusText
  • LicDongleVerifyGenuine
  • LicDongleWriteRecord
KeyNub`KeyNubLicDongle`
LicDongleAppEncrypt
​
LicDongleAppEncrypt[handle,data,scope]
encrypts data so that only a dongle can decrypt it, and gives the sealed bytes as a ByteArray.
​
Details and Options
▪
scope is "Developer" (any dongle issued to the same developer decrypts) or "Device" (only this dongle decrypts).
▪
data can be a ByteArray or a String; a String is stored as its UTF-8 bytes.
▪
Sealed data is what a program can hold instead of a plain check: encrypted once at license-issue time, decrypted with LicDongleAppDecrypt at run time.
▪
The call needs a session; open one with LicDongleSessionOpen.
▪
On failure the result is Failure["LicDongleError", ...] with "Status" (the C status code), "Operation" and "Detail".
​
Examples  
(1)
Basic Examples  
(1)
Seal data for every dongle you have issued:
In[1]:=
sealed=
LicDongleAppEncrypt
[h,"the data this program cannot run without","Developer"]
Bind data to this one dongle:
In[2]:=
LicDongleAppEncrypt
[h,data,"Device"]
SeeAlso
LicDongleAppDecrypt
RelatedGuides
▪
KeyNub License Dongle
RelatedLinks
▪
KeyNub License Dongle for the Wolfram Language
▪
KeyNub SDK on GitHub
""

© 2026 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com