secret_key_scrypt_generator 0.0.3 copy "secret_key_scrypt_generator: ^0.0.3" to clipboard
secret_key_scrypt_generator: ^0.0.3 copied to clipboard

A Dart CLI to obfuscate a secret key and generate a Dart file that can safely reconstruct it at runtime.

🔐 Secret Key Script Generator x Secure Compressor #

A simple CLI tool to generate obfuscated secret key functions and encrypt/decrypt files (https://pub.dev/packages/secure_compressor) Designed to prevent plain-text secrets from being exposed when the app is decompiled. So if you encrypt a string here, you can use decrypt function in secure_compressor to decrypt the strin.

🚀 Installation #

Activate globally #

dart pub global activate secret_key_scrypt_generator

---

## ✨ Features
- `secret generate -s <string/key/secrect/plaintext> -f <functionName>`  
  Generate an obfuscated Dart function from a string or file.
- `secret encrypt -s <path-file> -p <password>`  
  Encrypt a String with a specific password
- `secret decrypt -s <path-file> -p <password>`  
  Decrypt a String with a specific password
- `secret encryptFile -f <path-file> -p <password>`  
  Encrypt a file into `_enc.txt`.
- `secret decryptFile -f <path-file> -p <password>`  
  Decrypt an encrypted file back into `_dec.txt`.

	> Password used length must be 32 character
  > You can use any AESMode to do encrypt decrypt the string (eg: CBC, CFB-64, CTR, ECB, OFB-64/GCTR, OFB-64, SIC, GCM)
---
3
likes
160
points
2
downloads

Publisher

verified publisheranonimeact.com

Weekly Downloads

A Dart CLI to obfuscate a secret key and generate a Dart file that can safely reconstruct it at runtime.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, encrypt

More

Packages that depend on secret_key_scrypt_generator