Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# =============================================================================
# Data Masking System v2.3.0 - .gitignore
# Data Masking System v2.3.2 - .gitignore
# =============================================================================

# -----------------------------------------------------------------------------
Expand Down Expand Up @@ -190,7 +190,7 @@ Desktop.ini
.directory

# -----------------------------------------------------------------------------
# Data Masking System v2.3.0 - Специфічні файли
# Data Masking System v2.3.2 - Специфічні файли
# -----------------------------------------------------------------------------

# Вхідні файли (опціонально)
Expand Down
8 changes: 4 additions & 4 deletions config_example.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Configuration example for data_masking.py v2.3.1
Configuration example for data_masking.py v2.3.2

Demonstrates all available configuration options using dataclasses.
No external dependencies required — uses only Python standard library.

Author: Vladyslav V. Prodan
Contact: github.com/click0
Phone: +38(099)6053340
Version: 2.3.1
Version: 2.3.2
License: BSD 3-Clause "New" or "Revised" License
Year: 2025-2026
"""
Expand All @@ -25,7 +25,7 @@
@dataclass
class SystemConfig:
"""Системні налаштування."""
version: str = "v2.3.1"
version: str = "v2.3.2"
hash_algorithm: str = "blake2b"
hash_digest_size: int = 8
encoding: str = "utf-8"
Expand Down Expand Up @@ -172,7 +172,7 @@ def to_dict(self) -> dict:
data = config.to_dict()

print("=" * 70)
print(" Data Masking Configuration Example v2.3.1")
print(" Data Masking Configuration Example v2.3.2")
print("=" * 70)

for section_name, section_data in data.items():
Expand Down
6 changes: 3 additions & 3 deletions config_example.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ==========================================================================
# Приклад конфігурації для системи маскування даних v2.3.1
# Приклад конфігурації для системи маскування даних v2.3.2
#
# Скопіюйте цей файл як config.yaml та налаштуйте під свої потреби.
# Згенерувати конфігурацію за замовчуванням:
Expand All @@ -8,7 +8,7 @@
# Author: Vladyslav V. Prodan
# Contact: github.com/click0
# Phone: +38(099)6053340
# Version: 2.3.1
# Version: 2.3.2
# License: BSD 3-Clause "New" or "Revised" License
# Year: 2025-2026
# ==========================================================================
Expand All @@ -18,7 +18,7 @@
# --------------------------------------------------------------------------
system:
# Версія конфігурації (для сумісності)
version: "v2.3.1"
version: "v2.3.2"

# Алгоритм хешування для детерміністичного маскування.
# Той самий вхід завжди дає той самий замаскований результат.
Expand Down
6 changes: 3 additions & 3 deletions data_masking.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

"""
Data Masking Script v2.3.1
Data Masking Script v2.3.2
Локально узгоджене маскування конфіденційних даних з INSTANCE TRACKING

ОНОВЛЕНО В v2.3.0:
Expand Down Expand Up @@ -46,7 +46,7 @@
Author: Vladyslav V. Prodan
Contact: github.com/click0
Phone: +38(099)6053340
Version: 2.3.1
Version: 2.3.2
License: BSD 3-Clause "New" or "Revised" License
Year: 2025-2026
"""
Expand Down Expand Up @@ -122,7 +122,7 @@
# ============================================================================
# МЕТАДАНІ
# ============================================================================
__version__ = "2.3.1"
__version__ = "2.3.2"
__author__ = "Vladyslav V. Prodan"
__contact__ = "github.com/click0"
__phone__ = "+38(099)6053340"
Expand Down
2 changes: 1 addition & 1 deletion diagnose_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Author: Vladyslav V. Prodan
Contact: github.com/click0
Phone: +38(099)6053340
Version: 2.3.1
Version: 2.3.2
License: BSD 3-Clause "New" or "Revised" License
Year: 2025-2026

Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Data Masking & Unmasking Scripts v2.3.1
# Data Masking & Unmasking Scripts v2.3.2

Скрипти для **узгодженого маскування** конфіденційних даних у військових документах з можливістю точного відновлення.

Expand Down Expand Up @@ -501,6 +501,6 @@ BSD 3-Clause "New" or "Revised" License

## 📅 Версії

Поточна версія: **v2.3.1** (2026)
Поточна версія: **v2.3.2** (2026)

Детальну історію змін див. у [CHANGELOG.md](CHANGELOG.md)
2 changes: 1 addition & 1 deletion modules/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

"""
Data Masking Modules Package v2.3.1
Data Masking Modules Package v2.3.2

Модулі системи маскування даних.
"""
Expand Down
4 changes: 2 additions & 2 deletions modules/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

"""
Configuration Module v2.3.1 for data_masking.py
Configuration Module v2.3.2 for data_masking.py

Provides YAML + ENV + CLI configuration loading with priority resolution:
CLI > ENV > config.yaml > config.py > Default
Expand All @@ -16,7 +16,7 @@
Year: 2025-2026
"""

__version__ = "2.3.1"
__version__ = "2.3.2"

import os
import logging
Expand Down
4 changes: 2 additions & 2 deletions modules/masking_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

"""
Logging Module v2.3.1 for data_masking.py
Logging Module v2.3.2 for data_masking.py

Provides structured logging with JSON and colored console output
for masking operations.
Expand All @@ -22,7 +22,7 @@
from typing import Any, Dict, Optional


__version__ = "2.3.1"
__version__ = "2.3.2"


class JsonFormatter(logging.Formatter):
Expand Down
6 changes: 3 additions & 3 deletions modules/password_generator.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Password Generator Module v2.3.1
Password Generator Module v2.3.2
Генератор паролів з підтримкою ASCII, кирилиці та кастомних символів.
Використання як модуль:
from password_generator import generate_password, PasswordConfig
Expand All @@ -25,7 +25,7 @@
Author: Vladyslav V. Prodan
Contact: github.com/click0
Phone: +38(099)6053340
Version: 2.3.1
Version: 2.3.2
License: BSD 3-Clause "New" or "Revised" License
Year: 2025-2026
"""
Expand All @@ -34,7 +34,7 @@
import argparse
from dataclasses import dataclass
from typing import Optional, List, Dict, Any, Union
__version__ = "2.3.1"
__version__ = "2.3.2"
__author__ = "Vladyslav V. Prodan"
# =============================================================================
# КОНСТАНТИ
Expand Down
8 changes: 4 additions & 4 deletions modules/re_mask.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

"""
Re-Masking Module v2.3.1
Re-Masking Module v2.3.2
Multi-pass masking with chain tracking for data_masking.py

Provides:
Expand All @@ -12,7 +12,7 @@

Chain JSON format:
{
"version": "2.3.1",
"version": "2.3.2",
"chain_id": "<sha256_hash[:12]>",
"chain_version": 2,
"created_at": "ISO-8601",
Expand All @@ -38,7 +38,7 @@
from pathlib import Path
from typing import Any, Callable, Dict, List, Optional, Tuple

__version__ = "2.3.1"
__version__ = "2.3.2"

# Standard mapping categories used by data_masking.py
MAPPING_CATEGORIES = [
Expand All @@ -49,7 +49,7 @@
]


def make_empty_masking_dict(version: str = "2.3.1") -> Dict:
def make_empty_masking_dict(version: str = "2.3.2") -> Dict:
"""Create a fresh empty masking dict with all required category keys.

Args:
Expand Down
4 changes: 2 additions & 2 deletions modules/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

"""
Security Module v2.3.1
Security Module v2.3.2

Provides AES-256-GCM encryption/decryption of mapping files
for data_masking.py.
Expand All @@ -15,7 +15,7 @@
Year: 2025-2026
"""

__version__ = "2.3.1"
__version__ = "2.3.2"

import json
import os
Expand Down
4 changes: 2 additions & 2 deletions modules/selective.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

"""
Selective Masking Module v2.3.1
Selective Masking Module v2.3.2

Provides --only / --exclude support: mask only selected data types.
Supports type aliases (plural forms, Ukrainian names), type groups,
Expand All @@ -19,7 +19,7 @@
from dataclasses import dataclass, field
from typing import Dict, List, Optional, Set

__version__ = "2.3.1"
__version__ = "2.3.2"

# ============================================================================
# AVAILABLE TYPES
Expand Down
4 changes: 2 additions & 2 deletions modules/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

"""
Tools API Module v2.3.1
Tools API Module v2.3.2

Provides atomic masking functions for programmatic use (without CLI).
Each function is self-contained and operates on a single value, updating
Expand Down Expand Up @@ -52,7 +52,7 @@
# ============================================================================
# METADATA
# ============================================================================
__version__ = "2.3.1"
__version__ = "2.3.2"
__author__ = "Vladyslav V. Prodan"
__contact__ = "github.com/click0"
__license__ = "BSD 3-Clause"
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Data Masking System v2.3.0
# Data Masking System v2.3.2
# Python 3.9+

# Генерація реалістичних українських імен
Expand Down
2 changes: 1 addition & 1 deletion tests/test_case_preservation.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Author: Vladyslav V. Prodan
Contact: github.com/click0
Phone: +38(099)6053340
Version: 2.3.1
Version: 2.3.2
License: BSD 3-Clause "New" or "Revised" License
Year: 2025-2026

Expand Down
2 changes: 1 addition & 1 deletion tests/test_diagnose.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Author: Vladyslav V. Prodan
Contact: github.com/click0
Phone: +38(099)6053340
Version: 2.3.1
Version: 2.3.2
License: BSD 3-Clause "New" or "Revised" License
Year: 2025-2026
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Author: Vladyslav V. Prodan
Contact: github.com/click0
Phone: +38(099)6053340
Version: 2.3.1
Version: 2.3.2
License: BSD 3-Clause "New" or "Revised" License
Year: 2025-2026

Expand Down
Loading
Loading