Skip to content

Commit

Permalink
Make ChaCha seed type an array instead of a buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
nvzqz committed May 4, 2017
1 parent 5a03f51 commit 11b1106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/RandomKit/Types/RandomGenerator/ChaCha.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
public struct ChaCha: RandomBytesGenerator, Seedable, SeedableFromSequence, SeedableFromRandomGenerator {

/// The seed type.
public typealias Seed = UnsafeBufferPointer<UInt32>
public typealias Seed = [UInt32]

/// The seed sequence's element type.
public typealias SeedSequenceElement = UInt32
Expand Down

0 comments on commit 11b1106

Please sign in to comment.