Browse Source

mark the Context class in ChaCha20 as final.

C.W. Betts 10 years ago
parent
commit
c57e424c3e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      CryptoSwift/ChaCha20.swift

+ 1 - 1
CryptoSwift/ChaCha20.swift

@@ -14,7 +14,7 @@ final public class ChaCha20 {
     private let stateSize = 16
     private var context:Context?
     
-    private class Context {
+    final private class Context {
         var input:[UInt32] = [UInt32](count: 16, repeatedValue: 0)
         
         deinit {