فهرست منبع

mark the Context class in ChaCha20 as final.

C.W. Betts 10 سال پیش
والد
کامیت
c57e424c3e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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 {