瀏覽代碼

Fix access levels

Marcin Krzyżanowski 8 年之前
父節點
當前提交
07d71bbc1b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
     fileprivate let context: Context
 
-    private struct Context {
+    fileprivate struct Context {
         var input = Array<UInt32>(repeating: 0, count: 16)
 
         init(key: Array<UInt8>, iv: Array<UInt8>) throws {