Skip to content

Commit 03db56e

Browse files
committed
Updated sample to use 256 bits for fun.
1 parent f69b286 commit 03db56e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sample/Content/SecretSplitterSamples.cs.pp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@
6565

6666
// Here's an example of how to do this hybrid approach:
6767

68-
// First, get a master secret of whatever size you want
68+
// First, get a master secret of whatever size you want. 128 bits is plenty big and is a nice
69+
// balance of share sizes and security. However, to be fun, let's be super paranoid and go with
70+
// 256 bits (at the cost of bigger shares!)
6971
var masterPassword = HexadecimalPasswordGenerator.GeneratePasswordOfBitSize(bitSize: 256);
7072
var masterPasswordBytes = SecretEncoder.ParseHexString(masterPassword);
7173

0 commit comments

Comments
 (0)