HSCP-G-042 · Security
Choose an encryption level and scope proportionate to the security need
Written entry, version 0.3, checked on 2026-12-04.
Verifiable objective
Each piece of data processed by the product is encrypted at the level its sensitivity calls for, on each layer where it travels or rests, and no further. The team shows it with an inventory kept up to date, which links each use of encryption to the protected data, the algorithm, the key and the places where that key is held, and with a dated review of the gaps between the need and what exists.
Facets
A facet is one part of the practice. The practice is upheld when all its facets are: each one is checked separately.
- classification of data by security need, and the encryption level expected for each class, including how long the data must remain confidential;
- encrypted layers: transit (to the outside, between services, and connections the product itself opens to third parties, such as an AI model or a national service), storage (database, files, backups), application-level encryption of a field or a document;
- algorithms, key sizes and protocols chosen, with a migration plan when one of them ages: order of migration, hybrid key exchange (a proven algorithm and a quantum-resistant algorithm, combined), signatures that must remain verifiable for a long time, and the ability to change algorithm through configuration, without rewriting the product;
- key management: where each key is held, who has access to it, rotation, destruction and log;
- cryptographic inventory and review of gaps, in both directions: what is missing and what is encrypted without need.
Recipes 2
Recipes in the catalogue
- HSCP-R-019 Keep the inventory of encryption and keys, and compare it with the need of each piece of data
- HSCP-R-040 Move connections to hybrid key exchange and check it at each version
Already described in a framework
- RGESN 2024:
1.7· to be reworded as a catalogue recipe - Green Software Patterns v2.0.0:
requirements/encrypt-what-is-necessary.md,development/evaluate-whether-to-use-TLS-termination.md· to be reworded as a catalogue recipe
Related practices
Same domain or requirements in common with this practice.
- HSCP-G-073 Protect data with compliant cryptography Draft
- HSCP-G-045 MSSanté mail client compliant with the LPS API Draft
- HSCP-G-194 Pseudonymisation of data reused for secondary purposes Draft
- HSCP-G-002 Log access to health data Written
- HSCP-G-005 Manage access authorisations to data Written
- HSCP-G-120 Manage and notify incidents (security, data breaches, exploited vulnerabilities, serious MD / DME incidents): qualification, time limits, recipient authority, information of individuals Written
Mappings
85 requirements, 21 frameworks · Open all
Each line names a unit requirement: its identifier, its official title for an open text or a short label written by the catalogue for a text under a restrictive licence, and the link to its source. The text of the requirement stays with its publisher. A title shown in French has no official English version.
CNIL, health data warehouses 6 requirements
cnil_entrepots_2021_118/5.85. Données à caractère personnel pouvant être incluses dans l’entrepôt Sourcecnil_entrepots_2021_118/SEC-LOG-2,cnil_entrepots_2021_118/SEC-LOG-3,cnil_entrepots_2021_118/SEC-LOG-4,cnil_entrepots_2021_118/SEC-LOG-6,cnil_entrepots_2021_118/SEC-RES-310. Sécurité · 5 requirements Source
Cyber Resilience Act 1 requirement
cra_2024_2847/annexeI-p8Annex I, point (e) Source
Data Act 1 requirement
data_act_2023_2854/art11-p1Article 11 · Technical protection measures on the unauthorised use or disclosure of data Source
DMN, interoperability and security 1 requirement
ref_is_dmn/INS.46@Stockage de copies de titres d'identitésIdentification des usagers Source
DMP (French shared medical record), professional access 1 requirement
dmp_v1.0/EXI.14Enregistrement durable du contenu d’un document du DMP Source
Green Software Patterns v2.0.0 2 requirements
INS v2.1, French national health identifier 1 requirement
ins_v2.1/EXI.30Sécurité des communications Source
MDCG 2019-16 rev.1 3 requirements
MDR, medical devices 1 requirement
mdr_2017_745/annexeI-p116Annex I, point 18.8 Source
Mon espace santé, app catalogue listing 3 requirements
mon_espace_sante_v3/03.13.01Protection des informations (Cryptographie) (pour les services n’échangeant pas de données avec Mes et/ou contenant des données personnelles) Sourcemon_espace_sante_v3/03.13.02Protection des informations (Cryptographie) (pour les services qui échangent des données avec Mes) Sourcemon_espace_sante_v3/R07Cryptographie Source
NIS2 4 requirements
OWASP ASVS, MASVS, SAMM 41 requirements
owasp_asvs_5.0.0/V11.1.1,owasp_asvs_5.0.0/V11.1.2,owasp_asvs_5.0.0/V11.1.3,owasp_asvs_5.0.0/V11.1.4V11 Cryptography — V11.1 Cryptographic Inventory and Documentation · 4 requirements Sourceowasp_asvs_5.0.0/V11.2.1,owasp_asvs_5.0.0/V11.2.2,owasp_asvs_5.0.0/V11.2.3,owasp_asvs_5.0.0/V11.2.4,owasp_asvs_5.0.0/V11.2.5V11 Cryptography — V11.2 Secure Cryptography Implementation · 5 requirements Sourceowasp_asvs_5.0.0/V11.3.1,owasp_asvs_5.0.0/V11.3.2,owasp_asvs_5.0.0/V11.3.3,owasp_asvs_5.0.0/V11.3.4,owasp_asvs_5.0.0/V11.3.5V11 Cryptography — V11.3 Encryption Algorithms · 5 requirements Sourceowasp_asvs_5.0.0/V11.4.1,owasp_asvs_5.0.0/V11.4.2,owasp_asvs_5.0.0/V11.4.3,owasp_asvs_5.0.0/V11.4.4V11 Cryptography — V11.4 Hashing and Hash-based Functions · 4 requirements Sourceowasp_asvs_5.0.0/V11.5.1,owasp_asvs_5.0.0/V11.5.2V11 Cryptography — V11.5 Random Values · 2 requirements Sourceowasp_asvs_5.0.0/V11.6.1,owasp_asvs_5.0.0/V11.6.2V11 Cryptography — V11.6 Public Key Cryptography · 2 requirements Sourceowasp_asvs_5.0.0/V11.7.1,owasp_asvs_5.0.0/V11.7.2V11 Cryptography — V11.7 In-Use Data Cryptography · 2 requirements Sourceowasp_asvs_5.0.0/V12.1.1,owasp_asvs_5.0.0/V12.1.2,owasp_asvs_5.0.0/V12.1.3,owasp_asvs_5.0.0/V12.1.4,owasp_asvs_5.0.0/V12.1.5V12 Secure Communication — V12.1 General TLS Security Guidance · 5 requirements Sourceowasp_asvs_5.0.0/V12.2.1,owasp_asvs_5.0.0/V12.2.2V12 Secure Communication — V12.2 HTTPS Communication with External Facing Services · 2 requirements Sourceowasp_asvs_5.0.0/V12.3.1,owasp_asvs_5.0.0/V12.3.2,owasp_asvs_5.0.0/V12.3.3,owasp_asvs_5.0.0/V12.3.4,owasp_asvs_5.0.0/V12.3.5V12 Secure Communication — V12.3 General Service to Service Communication Security · 5 requirements Sourceowasp_asvs_5.0.0/V14.1.1,owasp_asvs_5.0.0/V14.1.2V14 Data Protection — V14.1 Data Protection Documentation · 2 requirements Sourceowasp_asvs_5.0.0/V14.2.4V14 Data Protection — V14.2 General Data Protection Sourceowasp_masvs_master_20260916/MASVS-STORAGE-1,owasp_masvs_master_20260916/MASVS-STORAGE-2MASVS-STORAGE — Storage · 2 requirements Source
OWASP Top 10:2025 1 requirement
owasp_top10_2025/A04A04:2025 Cryptographic Failures Source
Pro Santé Connect 3 requirements
PSSI MCAS, French social ministries security policy 4 requirements
RGESN 2024, French general ecodesign framework for digital services 1 requirement
rgesn_2024/1.7Le service numérique a-t-il recours à un niveau de chiffrement adapté à ses besoins ? Source
GDPR 2 requirements
RGS v2.0, French general security framework 1 requirement
rgs_v2.0/3.2-a-p5a Règles relatives aux certificats électroniques Source
Interoperability, security and ethics framework for teleconsultation information systems 2 requirements
MSSanté core framework #2 v1.0 2 requirements
mssante_ref2_v1.0/ECO.1.1.1,mssante_ref2_v1.0/ECO.1.1.3Exigences génériques de l’API LPS · 2 requirements Source
SecNumCloud 3.2 4 requirements
secnumcloud_v3.2/10.1.a,secnumcloud_v3.2/10.1.b,secnumcloud_v3.2/10.1.c,secnumcloud_v3.2/10.1.d10.1 Chiffrement des données stockées · 4 requirements Source
Versions
| Version | Status | Date |
|---|---|---|
| 0.3 | Draft | 2026-12-04 |
How to cite: “Health Software Common Practices”, HSCP-G-042, version 0.3, https://healthtechpractices.org/en/gestes/hscp-g-042/, under the CC BY-NC-SA 4.0 licence. Licence