SkillAgentSearch skills...

PowerRSA

Generate RSA keys, encrypt and decrypt data

Install / Use

/learn @giMini/PowerRSA
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

PowerRSA

Generate RSA keys, encrypt and decrypt data

Generate the keys

To generate the Modulus, the private key and the public key, enter this command

.\PowerRSA.ps1 -Method GenKeys

Generate a 1024 key

.\PowerRSA.ps1 -Method GenKeys -KeyType 1024-bit

Generate a 2048 key

.\PowerRSA.ps1 -Method GenKeys -KeyType 2048-bit

Encrypt data

To encrypt data using PowerRSA enter this command

.\PowerRSA.ps1 -Method Enc -Exponent F:\Crypto\20160206104626\PublicKey -Modulus F:\Crypto\20160206104626\Modulus

Enter the data string to encrypt :

Enter message to encrypt: Hi! I'm an encrypted data string

Decrypt data

To decrypt data using PowerRSA enter this command

.\PowerRSA.ps1 -Method Dec -Data F:\Crypto\20160206110641\Data -Exponent F:\Crypto\20160206104626\PrivateKey -Modulus F:\Crypto\20160206104626\Modulus

Related Skills

View on GitHub
GitHub Stars23
CategoryDevelopment
Updated1mo ago
Forks10

Languages

PowerShell

Security Score

75/100

Audited on Mar 5, 2026

No findings