Word Cloud

Cybersecurity Terms

Security and infosec vocabulary

Output
Cybersecurity Terms
Python
import matplotlib.pyplot as plt
from wordcloud import WordCloud

text = """Security Encryption Authentication Authorization Firewall
Malware Ransomware Phishing DDoS Vulnerability Exploit Zero Day
Penetration Testing Ethical Hacking Red Team Blue Team SOC SIEM
Incident Response Threat Intelligence CVE Patch Management
VPN SSL TLS HTTPS Certificates PKI Keys Hashing SHA AES RSA
IAM SSO MFA RBAC Privileged Access Least Privilege Defense
Compliance GDPR HIPAA SOC2 ISO27001 NIST Framework Risk Assessment"""

def green_matrix(word, font_size, position, orientation, random_state=None, **kwargs):
    colors = ['#22c55e', '#4ade80', '#86efac', '#6CF527', '#84cc16']
    return colors[hash(word) % len(colors)]

wordcloud = WordCloud(
    width=1000, height=600,
    background_color='#0a0a0f',
    color_func=green_matrix,
    max_words=75,
    max_font_size=100,
    min_font_size=12,
    relative_scaling=0.5
).generate(text)

fig, ax = plt.subplots(figsize=(10, 6), facecolor='#0a0a0f')
ax.imshow(wordcloud, interpolation='bilinear')
ax.axis('off')
ax.set_title('Cybersecurity', color='#4ade80', fontsize=16, fontweight='bold', pad=10)
plt.tight_layout(pad=1)
plt.show()
Library

Matplotlib

Category

Text Visualization

Did this help you?

Support PyLucid to keep it free & growing

Support