npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

tamimhardcode

v1.5.0

Published

Secure encryption/decryption package with license protection and machine binding

Readme

TamimHardcode 🔐

A secure encryption/decryption Node.js package with built-in license protection and machine binding.

Features

  • 🔒 Military-grade encryption using AES-256-GCM
  • 🏷️ License protection - requires proper npm installation
  • 💻 Machine binding - encrypted data is tied to the machine
  • 📁 File encryption/decryption support
  • 🛡️ Anti-tampering protection
  • 🔑 Custom password support

Installation

npm install tamimhardcode

Usage

Basic Encryption/Decryption

const { encrypt, decrypt } = require('tamimhardcode');

// Encrypt text
const encrypted = encrypt("Your secret message");
console.log(encrypted); // Base64 encoded encrypted data

// Decrypt text
const decrypted = decrypt(encrypted);
console.log(decrypted); // "Your secret message"

Using Custom Password

const { encrypt, decrypt } = require('tamimhardcode');

const password = "mySecretPassword123!";
const encrypted = encrypt("Secret data", password);
const decrypted = decrypt(encrypted, password);

Class-based Usage

const { TamimHardcode } = require('tamimhardcode');

const tamim = new TamimHardcode();
const encrypted = tamim.encrypt("My secret");
const decrypted = tamim.decrypt(encrypted);

File Encryption/Decryption

const { encryptFile, decryptFile } = require('tamimhardcode');

// Encrypt a file
encryptFile('secret.txt', 'secret.txt.tamim');

// Decrypt a file
decryptFile('secret.txt.tamim', 'decrypted.txt');

License Verification

const { isLicensed, getInfo } = require('tamimhardcode');

console.log('Licensed:', isLicensed());
console.log('Package Info:', getInfo());

Security Features

  1. Installation Verification: The package checks if it's properly installed via npm
  2. Machine Binding: Encrypted data can only be decrypted on the same machine
  3. License Protection: Built-in license verification system
  4. Secure Key Derivation: Uses PBKDF2 with 100,000 iterations
  5. Authentication: Uses GCM mode for authenticated encryption

Error Handling

The package throws descriptive errors for:

  • Invalid installation
  • License verification failure
  • Machine verification failure
  • Decryption errors
  • File operation errors

Testing

npm test

Demo

npm run demo

License

This package is proprietary software. Unauthorized use, distribution, or modification is prohibited.

Author

Created by Tamim


⚠️ Important: This package requires proper installation via npm to function. Direct file copying will not work due to built-in protection mechanisms.