We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e76a0f commit 784c586Copy full SHA for 784c586
README.md
@@ -95,8 +95,8 @@ The remainder of this README is included in the project as a Swift playground.
95
Generate up to a _1 million_ random strings with _1 in a billion_ chance of repeat:
96
97
```swift
98
- var bits = Entropy.bits(for: 1.0e6, risk: 1.0e9)
99
- var entropy = Entropy()
+ let bits = Entropy.bits(for: 1.0e6, risk: 1.0e9)
+ let entropy = Entropy()
100
var string = entropy.string(bits: bits)
101
```
102
@@ -258,7 +258,7 @@ We'll start with using 32 characters. What 32 characters, you ask? The [Characte
258
import EntropyString
259
260
let entropy = Entropy(.charset32)
261
- var bits = Entropy.bits(for: 10000, risk: 1.0e6)
+ let bits = Entropy.bits(for: 10000, risk: 1.0e6)
262
263
264
print("String: \(string)\n")
0 commit comments