---
title: createProtectionSalt
description: Generate a fresh salt once per password group and build.
updated_at: '2026-09-24T16:26:34+02:00'
created_at: '2026-09-24T10:59:07+02:00'
symbol:
  kind: function
  name: createProtectionSalt
  signatures:
    - 'createProtectionSalt(): string'
  returns:
    type: string
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/core/src/protection.ts#L55
---

# createProtectionSalt
