Skip to content

FenrirSec/CryptoLionSDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CryptoLion SDK - Secure License Management

CryptoLion Logo
Python Version Build Status

The CryptoLion SDK provides a comprehensive solution for license management in desktop applications. With both C and Python APIs, it offers seamless integration for generating, validating, and managing software licenses with enterprise-grade security features.

Key Features

  • 🗝️ License Generation: Create time-limited licenses with custom durations
  • 🔍 License Validation: Verify license keys in real-time
  • 👥 User Management: Create and manage admin and standard users
  • 🔒 Secure Communication: HTTPS with Basic Authentication
  • 🌐 Cross-Platform: Supports Windows, macOS, and Linux
  • 🐍 Dual API: Available in both C and Python

Installation

Python SDK

pip install cryptolion-sdk

C SDK

git clone https://github.com/cryptolion/sdk.git
cd sdk/c
make
sudo make install

Quick Start

Python Example

from cryptolion import create_license, check_license

# Create a new license
license = create_license("admin", "securepass", 365)
print(f"Created license: {license['license_key']}")

# Validate license
validated = check_license(license['license_key'])
if validated['is_active']:
    print("License is active!")

C Example

#include <cryptolion.h>

int main() {
    // Create license
    License lic = create_license("admin", "securepass", 365, 0);
    printf("Created license: %s\n", lic.license_key);
    
    // Validate license
    License validated = check_license(lic.license_key);
    if(validated.is_active) {
        printf("License is active!\n");
    }
    
    // Clean up
    free_license(&lic);
    free_license(&validated);
    return 0;
}

Documentation

📚 Comprehensive documentation is available at: https://fenrirsec.github.io/CryptoLionSDK/

Key documentation sections include:

  • API Reference for both C and Python
  • Security Best Practices
  • Error Handling Guide
  • Platform-Specific Notes
  • Advanced Usage Examples

Building from Source

Prerequisites

  • libcurl
  • cJSON
  • Python 3.6+ (for Python bindings)
  • GCC or Clang

Build Commands

# Clone repository
git clone https://github.com/cryptolion/sdk.git
cd sdk

# Build C library
make -C c

# Build Python package
make package

# Install Python package
cd python
pip install dist/*.whl

Supported Platforms

Platform Architecture C Support Python Support
Windows x86-64
Linux x86-64

Contributing

We welcome contributions! Please see our Contribution Guidelines for details on how to contribute to the project.

Security

This repository includes known security issues, do not use in production. For education purposes only.

License

This project is licensed under the MIT License - see the LICENSE file for details.


CryptoLion © 2025 - Secure Software Licensing Solutions

About

CrypLion SDK for Python and C License Management

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •