Skip to content

Commit

Permalink
Updated sample to use 256 bits for fun.
Browse files Browse the repository at this point in the history
  • Loading branch information
moserware committed Nov 21, 2013
1 parent f69b286 commit 03db56e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sample/Content/SecretSplitterSamples.cs.pp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@

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

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

Expand Down

0 comments on commit 03db56e

Please sign in to comment.