New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

tamimhardcode

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tamimhardcode

Secure encryption/decryption package with license protection and machine binding

latest
Source
npmnpm
Version
1.5.0
Version published
Maintainers
1
Created
Source

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

  • Installation Verification: The package checks if it's properly installed via npm
  • Machine Binding: Encrypted data can only be decrypted on the same machine
  • License Protection: Built-in license verification system
  • Secure Key Derivation: Uses PBKDF2 with 100,000 iterations
  • 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.

Keywords

encryption

FAQs

Package last updated on 26 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts