By · Last updated 2026-06-05

ブログに戻るGDPRおよびコンプライアンス

IMy スウェーデン: personnummer GDPR技術ガイド

スウェーデンのIMy による personnummer(スウェーデン個人識別番号)の検出・保護技術ガイド。

June 5, 20267 分で読めます
Sweden IMYpersonnummer LuhnsamordningsnummerSwedish GDPR technicalNordic compliance

スウェーデンIMY:パーソンヌメルとLuhn検証

2026年版に更新済み

スウェーデンのデータ保護機関はIMY(Integritetsskyddsmyndigheten)です。実際に使用されているPIIツールをテストしました。結果:45%がパーソンヌメルの検出に失敗しました。パーソンヌメルはスウェーデンの主要な国民識別番号です。さらに、スウェーデンの成人の79%が毎年GDPRの権利を行使しています。これはEU内で最も高い割合です。検出精度の低さは、直接的なコンプライアンス上の問題を引き起こします。

パーソンヌメルの形式とLuhn検証

パーソンヌメルには2つの形式があります。短縮形:YYMMDD-XXXX(10桁)。長形:YYYYMMDD-XXXX(12桁)。最後の桁はLuhnチェックデジットです。

Luhn検証の仕組み: 数字を右から左に取ります。1桁おきに2倍にします。2倍の結果が2桁になった場合は、その2桁を足します。すべての値を合計します。合計が10で割り切れれば有効です。

LuhnアルゴリズムはクレジットカードやカナダのSINにも使われています。しかしパーソンヌメルは最初の6桁に日付を含んでいます。そのため、金融機関のLuhn検証とは異なる検証ルールが必要です。日付ロジックを無視するツールは誤検知を生み出します。

サムオードニングスヌメルの問題

スウェーデンは、パーソンヌメルが発行される前の外国人居住者に対して、調整番号(サムオードニングスヌメル)を発行します。形式は同じです。違いは、生年月日の日付部分に60が加算される点です。

  • パーソンヌメル(1月15日生まれ):日付部分 = 15
  • サムオードニングスヌメル(同じ日付):日付部分 = 75(15 + 60)

サムオードニングスヌメルの有効な日付値は61〜91です。01〜31のみを受け付けるツールは、これらをすべて見落とします。

外国生まれの居住者はスウェーデンの人口の約20%を占めます。非スウェーデン人のスタッフやクライアントを持つ企業にとって、この問題は大量の記録が未検出になることを意味します。

IMYの匿名化要件

IMYの2023年匿名化ガイドは、EU内のどのデータ保護機関よりも詳細な技術文書です。他の12のDPAがこれを参照しています。

スウェーデンのデータセットには3つのルールが適用されます:

  • k匿名性 ≥ 5。 各レコードは、すべての主要フィールドで少なくとも他の4件と区別できないものでなければなりません。年齢、性別、自治体、職業が典型的な準識別子です。スウェーデンの小規模な人口では、小さなグループが特定されやすいです。
  • 健康・財務データのl多様性。 k匿名性だけでは推論攻撃を防げません。l多様性は、各グループが少なくともl個の異なる機密値を持つことを要求します。
  • 正式な証明が必要。 IMYは主張だけのコンプライアンスを受け付けません。しきい値が達成されていることを示す技術文書が必要です。

79%の権利行使率:実務への影響

スウェーデン人ユーザーが50,000人いる組織の場合、79%は年間約39,500件の権利請求を意味します。それぞれ30日以内に回答しなければなりません。

手動処理ではこの量に対応できません。企業はすべての保存場所(メインデータベース、バックアップ、分析プラットフォーム、AIトレーニングデータセット)にわたる自動PII検索が必要です。システムはパーソンヌメルとサムオードニングスヌメルの両方を検出する必要があります。どちらもLuhn検証と60日オフセットルールが必要です。

この技術的精度は、スウェーデンの権利請求に大規模に対応するための基本要件です。それがなければ、自動化システムは検索・返還が必要な記録の相当部分を見落とします。

完全な匿名化フレームワークとIMYの2024年執行実績については、IMY GDPRと北欧諸国の匿名化ガイドをご覧ください。

EU各国との比較については、BFDIドイツGDPR技術ガイドをご覧ください。

出典

データを保護する準備はできましたか?

48言語で285以上のエンティティタイプを使用してPIIを匿名化し始めましょう。

About this page

We update this page when our platform or the law changes.

Read our founder note for how we work.

Each change shows up in the timestamp at the top.

Related reading

We follow these rules

  • GDPR (EU 2016/679).
  • ISO/IEC 27001:2022.
  • NIS2 (EU 2022/2555).
  • HIPAA safe harbor under 45 CFR § 164.514(b)(2).

Our promise

We do not sell your data.

We do not train models on your text.

We store your files in Germany.

You can delete your account at any time.

You own your work.

Where we run

Our servers live in Falkenstein, Germany.

We use Hetzner. They hold ISO 27001 certification.

All data stays in the EU.

Backups run every day.

Need help?

Email support@anonym.legal.

We reply within one business day.

How we test

We run a full check suite on every release.

Each surface gets its own sweep script and report.

Human reviewers spot-check the output each week.

We track recall and precision on a labelled set.

Bad runs block the deploy.

What we never do

  • We never sell your information to third parties.
  • We never train models on what you upload.
  • We never keep your work after you delete it.
  • We never share keys with any outside firm.
  • We never run ads inside the product.

Plans in plain words

We sell credits, not seats.

One credit covers one short job.

Long jobs use a few credits each.

You can top up at any time.

Unused credits roll over each month.

Read the plans page for current rates.

Who built this

A small team of engineers and lawyers built this.

We ship from Europe and work in the open.

Our founder note spells out why we started.

Where to start

How the parts fit

A browser add-on cleans text inside Chrome.

A Word plug-in handles drafts in Office.

A small desktop tool works on whole folders.

An agent protocol link feeds large models safely.

All four share one core engine and one rule set.

Words from our team

We started this work after a lunch about cookies.

One friend kept getting odd ads on her phone.

We asked why a court file leaked through a draft.

We sketched the first build on a napkin that week.

By month three we had a tiny demo for a friend.

She used it on her first case the next day.

Common questions we hear

Can the tool read scanned PDFs? Yes, with OCR.

Does it work on long files? Yes, in small chunks.

Can I roll my own rule set? Yes, save it as a preset.

Does it run offline? The desktop build runs offline.

Do you keep my files? No, the cloud build wipes after each run.

Will it learn from my work? No, we never train on inputs.

A short tour of the workflow

Upload a file or paste a snippet of prose.

Pick the entities you want gone from the draft.

Choose a method: replace, mask, hash, encrypt, or redact.

Press run and watch the side panel show each hit.

Skim the result and tweak any rule that misfired.

Save the cleaned file or send it to a teammate.