Scripting and security

Operating Systems, software development, scripting, PowerShell tips, network and security

Primary Menu
  • Home
  • PowerShell
  • Categories
  • Books
  • Courses
  • Top posts
  • Projects
  • Scripts
Skip to content

Encrypts content by using the Cryptographic Message Syntax format

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

PowerShell
1
2
New-SelfSignedCertificate -DnsName jesusninoc -CertStoreLocation "Cert:\CurrentUser\My" -KeyUsage KeyEncipherment,DataEncipherment, KeyAgreement -Type DocumentEncryptionCert
"Hello" | Protect-CmsMessage -To cn=jesusninoc -OutFile secret.txt


Cryptography, PowerShell, Security Jesús Niño Camazón, New-SelfSignedCertificate, Protect-CmsMessage

Related Articles

Mostrar un mensaje si se ha ejecutado correctamente un script de PowerShell desde C#

Ver los programas que se pueden ejecutar por defecto en el router de fibra óptica MitraStar GPT-2541GNAC de Movistar desde PowerShell

Server and client (Sockets TCP)

Post navigation

Previous Previous post: Install PyAutoGUI
Next Next post: Recopilación de Scripts día 11/11/2017