development:csharp:password_masking

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, clearValue, (span, value) => 
 +
 +    value.AsSpan().CopyTo(span): 
 +    span[3..].Fill('*'); 
 +}); 
 +</code>
  • development/csharp/password_masking.txt
  • Last modified: 2021/09/13 07:31
  • by 127.0.0.1