Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9567b4e

Browse files
committed
Doc updates
1 parent e56ff3a commit 9567b4e

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

‎EntropyString.playground/Pages/Secure Bytes.xcplaygroundpage/Contents.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//:
88
//: You may, of course, want feedback as to when or if `SecRandomCopyBytes` fails. `RandomString.entropy(of:using:secRand)` provides an additional `inout` parameter that acts as a flag should a `SecRandomCopyBtyes` call fail.
99
//:
10-
//: On Linux OSes, `EntropyString` always uses `arc4random_buf`. The `secRand` parameter in the `RandomString.entropy(of:using:secRand)` is ignored.
10+
//: On Linux, `EntropyString` always uses `arc4random_buf`. The `secRand` parameter is ignored.
1111
//:
1212
import EntropyString
1313

‎EntropyString.playground/Pages/TLDR2.xcplaygroundpage/Contents.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//: - You need to a total of **_N_** strings with a risk **_1/n_** of repeat.
1212
//: - The characters are arbitrary.
1313
//: - You need `EntropyString`.
14-
//: ##### In a million strings, a 1 in a billion chance of a repeat (using 32 possible characters):
14+
//: ##### Base 32 character string with a 1 in a million chance of a repeat a billion strings:
1515
import EntropyString
1616

1717
let random = Random()

‎EntropyString.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Pod::Spec.new do |s|
44
s.name = "EntropyString"
5-
s.version = "1.2.3"
5+
s.version = "2.0.0"
66
s.summary = "Efficiently generate cryptographically strong random strings of specified entropy from various character sets."
77

88
s.description = <<-DESC

‎README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ Efficiently generate cryptographically strong random strings of specified entrop
4747
4848
```ruby
4949
use_frameworks!
50-
5150
pod 'EntropyString', '~> 1.0.0'
5251
```
5352
@@ -446,7 +445,7 @@ As described in [Efficiency](#Efficiency), `EntropyString` uses an underlying ar
446445

447446
You may, of course, want feedback as to when or if `SecRandomCopyBytes` fails. `RandomString.entropy(of:using:secRand)` provides an additional `inout` parameter that acts as a flag should a `SecRandomCopyBytes` call fail.
448447

449-
On Linux OSes, `EntropyString` always uses `arc4random_buf`. The `secRand` parameter in the `RandomString.entropy(of:using:secRand)`is ignored.
448+
On Linux OSes, `EntropyString` always uses `arc4random_buf`. The `secRand` parameter is ignored.
450449

451450

452451
```swift
@@ -521,7 +520,7 @@ Note the number of bytes needed is dependent on the number of characters in our
521520
- The characters are arbitrary.
522521
- You need `EntropyString`.
523522

524-
##### In a *million* strings, a *1 in a billion* chance of a repeat (using 32 possible characters):
523+
##### Base 32 character string with a 1 in a million chance of a repeat a billion strings:
525524
```swift
526525
import EntropyString
527526

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /