no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | development:csharp:password_masking [2021/09/13 07:31] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Efficient password string masking ====== | ||
+ | <code csharp> | ||
+ | return string.Create(clearValue.Length, | ||
+ | { | ||
+ | value.AsSpan().CopyTo(span): | ||
+ | span[3..].Fill(' | ||
+ | }); | ||
+ | </ |