Browse Source

Fix access levels

Marcin Krzyżanowski 8 years ago
parent
commit
07d71bbc1b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/CryptoSwift/ChaCha20.swift

+ 1 - 1
Sources/CryptoSwift/ChaCha20.swift

@@ -15,7 +15,7 @@ public final class ChaCha20: BlockCipher {
     public static let blockSize = 64 // 512 / 8
     public static let blockSize = 64 // 512 / 8
     fileprivate let context: Context
     fileprivate let context: Context
 
 
-    private struct Context {
+    fileprivate struct Context {
         var input = Array<UInt32>(repeating: 0, count: 16)
         var input = Array<UInt32>(repeating: 0, count: 16)
 
 
         init(key: Array<UInt8>, iv: Array<UInt8>) throws {
         init(key: Array<UInt8>, iv: Array<UInt8>) throws {